Permalink
Browse files

removed build option -fPIC for windows, it is ignored but throws a wa…

…rning
  • Loading branch information...
1 parent b83bff4 commit 903ae9582346a597bd56396e05cf9a8203a9d561 Tobias Leich committed Oct 7, 2010
Showing with 2 additions and 3 deletions.
  1. +2 −3 inc/My/Builder.pm
View
@@ -137,9 +137,8 @@ sub set_file_flags {
extra_compiler_flags => [
( split( ' ', $arch . $debug . $self->notes('sdl_cflags') ) ),
@{ $param->{defines} },
- ( defined $Config{usethreads}
- ? ( '-DUSE_THREADS', '-fPIC' )
- : ('-fPIC')
+ ( defined $Config{usethreads} ? '-DUSE_THREADS' : '',
+ $^O ne 'MSWin32' ? '-fPIC' : ''
),
],
extra_linker_flags => [

0 comments on commit 903ae95

Please sign in to comment.