X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=blobdiff_plain;f=Makefile;fp=Makefile;h=7690ad661eb809e2a1bcd3dd8e064b4822fb484f;hp=7f1d74af494cd1345d0cb91480619dc3dd34f85b;hb=23aea54b4e270294024080696610c61ef0267de5;hpb=71a2f5a6107cc7d5d63b6ddd0f01dc0341c18af3 diff --git a/Makefile b/Makefile index 7f1d74a..7690ad6 100644 --- a/Makefile +++ b/Makefile @@ -61,7 +61,10 @@ gcc_flags := -nostdinc $(gcc_optimizations) -Ibuild/h -Iupstream/jpeg-6 gcc_flags += -Iupstream/install/lib/gcc-lib/$(target)/3.3/include -Iupstream/install/$(target)/include gcc_flags += -ffunction-sections -fdata-sections -fno-omit-frame-pointer gcj := upstream/install/bin/$(target)-gcj $(gcc_flags) -fCLASSPATH=build/java -gcj += -fassume-compiled -fmerge-all-constants -finhibit-reflection +ifneq ($(platform),Darwin) +gcj += -finhibit-reflection +endif +gcj += -fassume-compiled -fmerge-all-constants gcj += -foptimize-static-class-initialization -feliminate-dwarf2-dups -w gcjh := $(shell pwd)/upstream/install/bin/$(shell test -e upstream/install/bin/$(target)-gcjh && echo $(target)-)gcjh g++ := upstream/install/bin/$(target)-gcj $(gcc_flags) -Iupstream/install/include -Wno-multichar