Merge pull request #2 from arunthomas/build_fix
authorScott Beamer <sbeamer3@gmail.com>
Sun, 21 Sep 2014 19:20:57 +0000 (12:20 -0700)
committerScott Beamer <sbeamer3@gmail.com>
Sun, 21 Sep 2014 19:20:57 +0000 (12:20 -0700)
Update riscv.ac to set CPPFLAGS with fesvr include path

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"
   ]
 )