diff options
author | Rimas Avizienis <rimas@eecs.berkeley.edu> | 2011-07-08 10:58:40 -0700 |
---|---|---|
committer | Rimas Avizienis <rimas@eecs.berkeley.edu> | 2011-07-08 10:58:40 -0700 |
commit | 582b17ecaf361870d7e6ab9f28877eccbf811752 (patch) | |
tree | 7846677097ed6149841d1051db2c9ccf5bb17bd8 /riscv/riscv.ac | |
parent | 3bec77de69afe8249ead43f6b71fe83ecca78ee3 (diff) | |
download | spike-582b17ecaf361870d7e6ab9f28877eccbf811752.zip spike-582b17ecaf361870d7e6ab9f28877eccbf811752.tar.gz spike-582b17ecaf361870d7e6ab9f28877eccbf811752.tar.bz2 |
bugfix to riscv.ac
Diffstat (limited to 'riscv/riscv.ac')
-rw-r--r-- | riscv/riscv.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/riscv/riscv.ac b/riscv/riscv.ac index 6da6a37..2919277 100644 --- a/riscv/riscv.ac +++ b/riscv/riscv.ac @@ -23,7 +23,7 @@ AC_CHECK_FILES([$libopc],[have_libopcodes="yes"],[have_libopcodes="no"]) libbfd="/opt/local/lib/libbfd.dylib" AC_SEARCH_LIBS([bfd_init],[bfd],[],[ - AC_CHECK_FILES([$libbfd], [libopc="$libopc $libbfd" incopc="/opt/local/include"], [have_libopcodes="no"]) + AC_CHECK_FILES([$libbfd], [libopc="$libopc $libbfd" incopc="-I/opt/local/include"], [have_libopcodes="no"]) ]) AS_IF([test "$have_libopcodes" = "no"],[ @@ -31,7 +31,7 @@ AS_IF([test "$have_libopcodes" = "no"],[ AC_MSG_WARN([Build will not include disassembly support]) ],[ LIBS="$libopc $LIBS" - INCDIRS="-I$incopc" + INCDIRS="$incopc" AC_DEFINE([RISCV_HAVE_LIBOPCODES],,[Define if libopcodes exists]) ]) AC_SUBST(INCDIRS) |