Update riscv.ac to set CPPFLAGS with fesvr include path
authorArun Thomas <arun.thomas@gmail.com>
Sun, 21 Sep 2014 01:35:11 +0000 (21:35 -0400)
committerArun Thomas <arun.thomas@gmail.com>
Sun, 21 Sep 2014 01:46:36 +0000 (21:46 -0400)
Need to set CPPFLAGS in riscv.ac in addition to configure

riscv/riscv.ac

index 4076dc31e738b97fc6a50b1fcd615a07cd2127ce..d38a48cdecafd10e745a24fbe989d989ccd4d7f5 100644 (file)
@@ -3,7 +3,7 @@ AC_ARG_WITH([fesvr],
     [path to your fesvr installation if not in a standard location])],
   [
     LDFLAGS="-L$withval/lib $LDFLAGS"
-    CFLAGS="-I$withval/include $CFLAGS"
+    CPPFLAGS="-I$withval/include $CPPFLAGS"
   ]
 )