Use CFLAGS instead of EXTRA_CFLAGS.

pull/261/head
Mooneer Salem 2022-07-17 22:43:38 -07:00
parent e293f07ca5
commit 31dfdaa558
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ if [ ! -d hamlib-code ]; then
fi
cd hamlib-code && git checkout master && git pull
./bootstrap
EXTRA_CFLAGS=-fstack-protector EXTRA_LDFLAGS=-fstack-protector ./configure --host=$MINGW_TRIPLE --target=$MINGW_TRIPLE --prefix $HAMLIBDIR
CFLAGS="-g -O2 -fstack-protector" ./configure --host=$MINGW_TRIPLE --target=$MINGW_TRIPLE --prefix $HAMLIBDIR
make -j4
make install