aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-03-01 11:40:24 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-03-01 11:40:24 +0000
commit49f2d674a7c0776aacb984b1de68eb85c4602960 (patch)
tree8b6b135ad4cc416c3fc9cf642e4f0c0520a29ef4
parentec7019bafd4e070ef5de9d8d269e22a328e952c0 (diff)
downloadperl-URPM-49f2d674a7c0776aacb984b1de68eb85c4602960.tar
perl-URPM-49f2d674a7c0776aacb984b1de68eb85c4602960.tar.gz
perl-URPM-49f2d674a7c0776aacb984b1de68eb85c4602960.tar.bz2
perl-URPM-49f2d674a7c0776aacb984b1de68eb85c4602960.tar.xz
perl-URPM-49f2d674a7c0776aacb984b1de68eb85c4602960.zip
Make sure -fno-strict-aliasing is used (gcc option)
-rw-r--r--Makefile.PL2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.PL b/Makefile.PL
index 14dfd3f..69e65f2 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -52,7 +52,7 @@ WriteMakefile(
'MDV::Packdrakeng' => '1.00',
},
CCFLAGS => '-Wall',
- OPTIMIZE => '-O3 -fomit-frame-pointer -fno-exceptions -pipe -s -ffast-math -fexpensive-optimizations',
+ OPTIMIZE => '-O3 -fomit-frame-pointer -fno-exceptions -pipe -s -ffast-math -fexpensive-optimizations -fno-strict-aliasing',
VERSION_FROM => 'URPM.pm',
LIBS => [ '-lrpm -lrpmio -lrpmdb -lrpmbuild -lpopt -lz' ],
INC => '-I/usr/include/rpm',