From e84ff1fa31e7c43c6887469a1c09dc3c5faea56f Mon Sep 17 00:00:00 2001 From: Philip Balister Date: Wed, 16 Sep 2009 18:59:19 -0400 Subject: [PATCH] configure.gnu needs to unset more vars from the environment. This solves a problem running the usrp2/firmware configure script when the USB_* vars are set in the environment. Long term fix is to have the configure.gnu wrapper make sure the quoting is OK for vars passed on. --- usrp2/firmware/configure.gnu | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/usrp2/firmware/configure.gnu b/usrp2/firmware/configure.gnu index 60d6d2a7..53ca9b51 100755 --- a/usrp2/firmware/configure.gnu +++ b/usrp2/firmware/configure.gnu @@ -3,7 +3,7 @@ # wrapper to setup cross-compilation of firmware # -for v in CC CPP CXX AS AR NM RANLIB STRIP F77 CFLAGS CXXFLAGS CPPFLAGS LDFLAGS +for v in CC CPP CXX AS AR NM RANLIB STRIP F77 CFLAGS CXXFLAGS CPPFLAGS LDFLAGS CCAS CCASFLAGS USB_LIBS USB_CFLAGS do unset $v done @@ -26,6 +26,10 @@ do (CXXFLAGS=*) ;; (CPPFLAGS=*) ;; (LDFLAGS=*) ;; + (CCAS=*) ;; + (CCASFLAGS=*) ;; + (USB_CFLAGS=*) ;; + (USB_LIBS=*) ;; (*) args="$args $t" ;; esac done -- 2.39.5