Skip to content

Commit

Permalink
[ fix ] include ambient CFLAGS/LDFLAGS in ccompilerArgs test
Browse files Browse the repository at this point in the history
  • Loading branch information
dunhamsteve committed Apr 27, 2024
1 parent 93bf394 commit ed3fe02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/refc/ccompilerArgs/run
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ cd ./library/
make > /dev/null
cd ..

export CFLAGS="-I./library/ -O3"
export LDFLAGS="-L./library/ -Wl,-S"
export CFLAGS="-I./library/ -O3 ${CFLAGS}"
export LDFLAGS="-L./library/ -Wl,-S ${LDFLAGS}"
export LDLIBS="-lexternalc"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:./library/"
export DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:./library/"
Expand Down

0 comments on commit ed3fe02

Please sign in to comment.