changeset 3141 | e840fc2a0f53 |
parent 3085 | cbcafb482b75 |
child 3146 | 36523d434783 |
--- a/Makefile Sat Mar 04 11:15:44 2006 +0000 +++ b/Makefile Sat Mar 04 12:09:10 2006 +0000 @@ -279,11 +279,6 @@ WINDRES = windres endif -# Check if we have a new target -ifdef CC_TARGET -CC = $(CC_TARGET) -endif - # Check if CC_HOST is defined. If not, it is CC ifndef CC_HOST CC_HOST = $(CC) @@ -292,6 +287,10 @@ CFLAGS_HOST = $(BASECFLAGS) endif +# Check if we have a new target +ifdef CC_TARGET +CC = $(CC_TARGET) +endif CC_VERSION = $(shell $(CC) -dumpversion | cut -c 1,3)