X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=7a4e1301c7529b44f9d798006d59d565c8017469;hb=8eaad80c189efbf839d4c32e1cec1f4fb6f5f0d5;hp=d7a01dfed9a533e93600a926e8cca5148e924093;hpb=3124638fac4b5bf200cfb70ddb0cd5a7d896f144;p=picodrive.git diff --git a/Makefile b/Makefile index d7a01df..7a4e130 100644 --- 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