Compare commits

...

2 Commits

1 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ endif
LIBDIR := /lib LIBDIR := /lib
INCLUDEDIR := /usr/include INCLUDEDIR := /usr/include
PKGCONFIGDIR := /usr/lib/pkgconfig PKGCONFIGDIR := /usr/lib/pkgconfig
CFLAGS := -ggdb3 -O2 -Wall CFLAGS ?= -ggdb3 -O2 -Wall
CPPFLAGS := -Iinclude -Iarch/${ARCH} -Iarch/common CPPFLAGS := -Iinclude -Iarch/${ARCH} -Iarch/common
ifneq ($(shell uname),Darwin) ifneq ($(shell uname),Darwin)
EXPORT_UNPREFIXED := yes EXPORT_UNPREFIXED := yes
@ -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)