diff options
author | Andrew Waterman <waterman@cs.berkeley.edu> | 2015-05-10 21:46:24 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@cs.berkeley.edu> | 2015-05-10 21:46:24 -0700 |
commit | 50a2d6ca7fb63cfabd0f8bc086abb8fcd49f0ded (patch) | |
tree | 9b9109687b5c3b49bf55fa9769df3865639b45ec | |
parent | 1a8572a47db3151323ec390c430da37d831fc962 (diff) | |
download | riscv-pk-50a2d6ca7fb63cfabd0f8bc086abb8fcd49f0ded.zip riscv-pk-50a2d6ca7fb63cfabd0f8bc086abb8fcd49f0ded.tar.gz riscv-pk-50a2d6ca7fb63cfabd0f8bc086abb8fcd49f0ded.tar.bz2 |
Fix build using glibc toolchain
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -3969,7 +3969,7 @@ fi # Default compiler flags #------------------------------------------------------------------------- -CFLAGS="-Wall -Werror -mcmodel=medany -O2 -std=gnu99 -Wno-unused -Wno-attributes -fno-delete-null-pointer-checks" +CFLAGS="-Wall -Werror -D__NO_INLINE__ -mcmodel=medany -O2 -std=gnu99 -Wno-unused -Wno-attributes -fno-delete-null-pointer-checks" LIBS="-lgcc" diff --git a/configure.ac b/configure.ac index 0fd352a..64ddc5f 100644 --- a/configure.ac +++ b/configure.ac @@ -71,7 +71,7 @@ AC_HEADER_STDC # Default compiler flags #------------------------------------------------------------------------- -AC_SUBST([CFLAGS], ["-Wall -Werror -mcmodel=medany -O2 -std=gnu99 -Wno-unused -Wno-attributes -fno-delete-null-pointer-checks"]) +AC_SUBST([CFLAGS], ["-Wall -Werror -D__NO_INLINE__ -mcmodel=medany -O2 -std=gnu99 -Wno-unused -Wno-attributes -fno-delete-null-pointer-checks"]) AC_SUBST([LIBS], ["-lgcc"]) #------------------------------------------------------------------------- |