1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

Add -fPIC to cflags which hopefulle fixes amd64

Tested on:	i386
Submitted by:	bento via kris
This commit is contained in:
Erwin Lansing 2003-10-23 07:36:32 +00:00
parent 67f4fea8db
commit a531c44d98
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=91937

View File

@ -1,6 +1,14 @@
--- Build.PL.orig Thu Sep 11 15:09:42 2003
+++ Build.PL Thu Sep 11 15:09:48 2003
@@ -30,7 +30,7 @@
--- Build.PL.orig Sun Aug 31 17:15:33 2003
+++ Build.PL Thu Oct 23 09:31:34 2003
@@ -21,6 +21,7 @@
my $libs = `$CONFIG --libs`;
my $cflags = `$CONFIG --cflags`;
+$cflags .= ' -fPIC';
my $build = Module::Build->new(
module_name => 'Image::Imlib2',
@@ -30,7 +31,7 @@
'Test::More' => '0.01',
},
extra_linker_flags => $libs,