CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
fixed last issues in Makefile's test stuff
authorJose V Beneyto <sepen@crux.nu>
Sat, 6 Mar 2010 10:37:45 +0000 (11:37 +0100)
committerJose V Beneyto <sepen@crux.nu>
Sat, 6 Mar 2010 10:37:45 +0000 (11:37 +0100)
Makefile

index e4c8ad4c624c40a762b24476d758bc80707723c8..5ca990ce7e5fec3d02d20fa1504c9e4d002f7140 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -244,8 +244,8 @@ gcc-final-distclean: gcc-final-clean
 
 # TEST THE TOOLCHAIN
 $(WORK)/test: $(WORK)/test.c
-       export PATH=$$PATH:$(CROSSTOOLS)/bin
-       unset CFLAGS && unset CXXFLAGS && unset CC
+       export PATH=$$PATH:$(CROSSTOOLS)/bin && \
+       unset CFLAGS && unset CXXFLAGS && unset CC && \
        AR=ar LDFLAGS="-Wl,-rpath,$(CROSSTOOLS)/lib" \
        $(TARGET)-gcc -Wall -o test $(WORK)/test.c
        [ "`file -b $(WORK)/test | cut -d',' -f2 | sed 's| ||g'`" = "ARM"  ] || exit 1