Skip to content

Commit

Permalink
Merge pull request #4910 from attila-lendvai-patches/ffi008
Browse files Browse the repository at this point in the history
fix ffi008 test: add -fcommon to accommodate for gcc v9+
  • Loading branch information
melted committed Feb 10, 2022
2 parents 52d123c + a91cea8 commit 33b06b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ffi008/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
${IDRIS:-idris} $@ ffi008.idr -o ffi008 -p contrib --cg-opt "ffi008.c"
IDRIS_CFLAGS=-fcommon ${IDRIS:-idris} $@ ffi008.idr -o ffi008 -p contrib --cg-opt "ffi008.c"
./ffi008
rm -f ffi008 *.ibc

0 comments on commit 33b06b0

Please sign in to comment.