mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
software: cleanup CFLAGS
This commit is contained in:
parent
80f3d83c34
commit
88a909e86c
1 changed files with 3 additions and 4 deletions
|
@ -35,11 +35,10 @@ endif
|
|||
|
||||
# Toolchain options
|
||||
#
|
||||
INCLUDES_NOLIBC ?= -nostdinc -I$(M2DIR)/software/include/base
|
||||
INCLUDES = $(INCLUDES_NOLIBC) -I$(M2DIR)/software/include -I$(M2DIR)/common
|
||||
ASFLAGS = $(INCLUDES) -nostdinc
|
||||
INCLUDES = -I$(M2DIR)/software/include/base -I$(M2DIR)/software/include -I$(M2DIR)/common
|
||||
ASFLAGS = -nostdinc $(INCLUDES)
|
||||
CFLAGS = -O9 -Wall -Wstrict-prototypes -Wold-style-definition -Wshadow \
|
||||
-Wmissing-prototypes -fsigned-char $(INCLUDES)
|
||||
-Wmissing-prototypes -fsigned-char -nostdinc $(INCLUDES)
|
||||
LDFLAGS = -nostdlib -nodefaultlibs
|
||||
|
||||
# compile and generate dependencies, based on
|
||||
|
|
Loading…
Reference in a new issue