build: use CPPFLAGS instead of CFLAGS for FREESTANDING/EXPORT_UNPREFIXED
parent
2c0c0e5d29
commit
9403b481bc
4
Makefile
4
Makefile
|
@ -31,12 +31,12 @@ endif
|
|||
FREESTANDING := no
|
||||
|
||||
ifeq ($(FREESTANDING),yes)
|
||||
CFLAGS += -DFREESTANDING
|
||||
CPPFLAGS += -DFREESTANDING
|
||||
EXPORT_UNPREFIXED = no
|
||||
endif
|
||||
|
||||
ifeq ($(EXPORT_UNPREFIXED),yes)
|
||||
CFLAGS += -DEXPORT_UNPREFIXED
|
||||
CPPFLAGS += -DEXPORT_UNPREFIXED
|
||||
endif
|
||||
|
||||
LIBUCONTEXT_C_SRC = $(wildcard arch/${ARCH}/*.c)
|
||||
|
|
Loading…
Reference in New Issue