|
@@ -35,13 +35,12 @@ ifeq ($(DODEBUG),y)
|
|
|
XXFLAGS=$(XWARNINGS) $(XARCH_CFLAGS) $(CPU_CFLAGS) $(PICFLAG) \
|
|
|
-DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" \
|
|
|
-fno-builtin -nostdinc -I$(TOPDIR)ldso/include -I. -I$(TOPDIR)include
|
|
|
-endif
|
|
|
-
|
|
|
ifeq ($(TARGET_ARCH),powerpc)
|
|
|
XXFLAGS+=-Os -g3
|
|
|
else
|
|
|
XXFLAGS+=-O0 -g3
|
|
|
endif
|
|
|
+endif
|
|
|
|
|
|
XXFLAGS+=$(shell $(CC) -print-search-dirs | sed -ne "s/install: *\(.*\)/-I\1include/gp")
|
|
|
LDFLAGS=$(CPU_LDFLAGS-y) -shared --warn-common --export-dynamic --sort-common \
|