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
|
FREESTANDING := no
|
||||||
|
|
||||||
ifeq ($(FREESTANDING),yes)
|
ifeq ($(FREESTANDING),yes)
|
||||||
CFLAGS += -DFREESTANDING
|
CPPFLAGS += -DFREESTANDING
|
||||||
EXPORT_UNPREFIXED = no
|
EXPORT_UNPREFIXED = no
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(EXPORT_UNPREFIXED),yes)
|
ifeq ($(EXPORT_UNPREFIXED),yes)
|
||||||
CFLAGS += -DEXPORT_UNPREFIXED
|
CPPFLAGS += -DEXPORT_UNPREFIXED
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LIBUCONTEXT_C_SRC = $(wildcard arch/${ARCH}/*.c)
|
LIBUCONTEXT_C_SRC = $(wildcard arch/${ARCH}/*.c)
|
||||||
|
|
Loading…
Reference in New Issue