Skip to content

Commit

Permalink
configure.ac: Prevent overwriting CFLAGS in configure
Browse files Browse the repository at this point in the history
By setting CFLAGS in configure, commit b9c58a1 [1]
accidentally prevents passing additional CFLAGS
parameters into make.

[1] b9c58a1

Change-Id: Ibfb0a805e690cf401f77e53c9a58f4e75a668aa8
  • Loading branch information
obgm committed May 27, 2022
1 parent 2546738 commit 98e2cd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ m4_ifdef([AM_PROG_AR], [AM_PROG_AR], [AR=ar])

AC_C_BIGENDIAN

CFLAGS="-fPIC"
CFLAGS="${CFLAGS} -fPIC"

# Adding some default warning options for code QS
# see https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
Expand Down

0 comments on commit 98e2cd7

Please sign in to comment.