X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/afb5333ac3d26972c58bd01b77397014caad58b3..4136279877fa079d23be30947eeb1988c710dd9f:/makefile diff --git a/makefile b/makefile index 1d189f0a..3898b49c 100644 --- a/makefile +++ b/makefile @@ -1,4 +1,10 @@ +ifeq (o,O) +ios := 2.0 +gcc := 4.0 +else ios := 3.2 +gcc := 4.2 +endif flags := link := @@ -34,7 +40,7 @@ link += -lpcre link += -multiply_defined suppress #cycc = cycc -r4.2 -i$(ios) -o$@ -gxx := /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++ +gxx := /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++-$(gcc) cycc = $(gxx) -arch armv6 -o $@ -mcpu=arm1176jzf-s -miphoneos-version-min=$(ios) -isysroot $(sdk) -idirafter /usr/include -F/Library/Frameworks all: Cydia