usb: Fix for new compiler
[simavr] / examples / board_usb / Makefile
index 9aa7f47..f7f668e 100644 (file)
@@ -45,7 +45,7 @@ ${board} : ${OBJ}/${target}.o
 
 ../vhci/lib/libusb_vhci.a:
        @echo -n "BUILDIN $@ "
-       @{ $(MAKE) -j -C ../vhci >/tmp/vhci.build.log 2>&1 || \
+       @{ export CC=;export CFLAGS=; $(MAKE) -j -C ../vhci >/tmp/vhci.build.log 2>&1 || \
                { echo "ERROR check /tmp/vhci.build.log"; exit 1; }; } && \
                        echo " Done"