(OSX PPC) Improve upon some build rules
[picodrive.git] / Makefile
index d7a01df..7a4e130 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ CFLAGS += -Wall -ggdb -falign-functions=2
 CFLAGS += -I. -DINLINE=inline
 ifndef DEBUG
 CFLAGS += -O2 -DNDEBUG -ffunction-sections
-ifeq ($(findstring clang,$(CC)),)
+ifneq ($(APPLE),1)
 LDFLAGS += -Wl,--gc-sections
 endif
 endif