From: Jim Lawson Date: Thu, 28 Aug 2014 22:22:05 +0000 (-0700) Subject: Update configure to set CPPFLAGS instead of CFLAGS with fesvr include path. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4d1c63ea2620dfbf125bef422501d641220b7b11;p=riscv-isa-sim.git Update configure to set CPPFLAGS instead of CFLAGS with fesvr include path. Since we no longer are duplicating CFLAGS, ensure CPPFLAGS are set correctly. --- diff --git a/configure b/configure index 6eae9bf..258ad60 100755 --- 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