Skip to content

Commit

Permalink
GNU embrace, extend, extinguishes standard macro usage
Browse files Browse the repository at this point in the history
  • Loading branch information
tonycoz committed Jun 10, 2024
1 parent 4218874 commit 4b46321
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -1426,7 +1426,9 @@ CODE

# probe for a flag if we need it
# which we may for [[noreturn]] or aligned_alloc()
for my $flag (qw(-std=c -std:c)) {
# GNU to work around perl depending on _GNU_SOURCE and defaults rather
# than the standard macros
for my $flag (qw(-std=gnu -std=c -std:c)) {
print "Trying '${flag}99' to compile C99 code\n"
if $VERBOSE;

Expand Down

0 comments on commit 4b46321

Please sign in to comment.