Update configure to set CPPFLAGS instead of CFLAGS with fesvr include path.
authorJim Lawson <ucbjrl@berkeley.edu>
Thu, 28 Aug 2014 22:22:05 +0000 (15:22 -0700)
committerJim Lawson <ucbjrl@berkeley.edu>
Thu, 28 Aug 2014 22:22:05 +0000 (15:22 -0700)
Since we no longer are duplicating CFLAGS, ensure CPPFLAGS are set
correctly.

configure

index 6eae9bf0d92c3171516d931347f978f082358b3a..258ad609880e66ff12dffe57785a931d5ffacae3 100755 (executable)
--- a/configure
+++ b/configure
@@ -4077,7 +4077,7 @@ $as_echo "#define RISCV_ENABLED /**/" >>confdefs.h
 if test "${with_fesvr+set}" = set; then :
   withval=$with_fesvr;
     LDFLAGS="-L$withval/lib $LDFLAGS"
-    CFLAGS="-I$withval/include $CFLAGS"
+    CPPFLAGS="-I$withval/include $CPPFLAGS"
 
 
 fi