Navigation Menu

Skip to content

Commit

Permalink
Use INC not CCFLAGS to add arbitrary stuff for cc
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Mar 22, 2015
1 parent 42f08b4 commit 3928b95
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Basic/Ufunc/Makefile.PL
Expand Up @@ -35,8 +35,7 @@ my %hash = pdlpp_stdargs_int(@pack);
$hash{LIBS}->[0] .= ' -lm';

#suppress warning from "$GENERIC(b) foo = 0.25;", which is intentional.
# only do this for clang; gcc 4.8.2 on Win64 crashes
$hash{CCFLAGS} .= ' -Wno-literal-conversion ' if $Config{cc} =~ /\bclang\b/;
$hash{INC} .= ' -Wno-literal-conversion ';

undef &MY::postamble; # suppress warning
*MY::postamble = sub {
Expand Down

0 comments on commit 3928b95

Please sign in to comment.