]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/libloc/libloc-0.9.3-perl-i586-regular-stack-protector.patch
Merge remote-tracking branch 'pmueller/temp-cleanup-orphaned-items' into next
[people/pmueller/ipfire-2.x.git] / src / patches / libloc / libloc-0.9.3-perl-i586-regular-stack-protector.patch
CommitLineData
e027e094
MT
1diff --git a/src/perl/Makefile.PL b/src/perl/Makefile.PL
2index 38d5390..62016ca 100644
3--- a/src/perl/Makefile.PL
4+++ b/src/perl/Makefile.PL
5@@ -11,6 +11,7 @@ WriteMakefile(
6 LIBS => ['-lloc'],
7 DEFINE => '', # e.g., '-DHAVE_SOMETHING'
8 INC => '-I. -I../../',
9+ CCFLAGS => '-D_REENTRANT -D_GNU_SOURCE -O2 -pipe -Wall -fexceptions -fPIC -march=i586 -mindirect-branch=thunk -mfunction-return=thunk -mtune=generic -fomit-frame-pointer -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
10 # Un-comment this if you add C files to link with later:
11 # OBJECT => '$(O_FILES)', # link all the C files too
12 );