Hints files should allow command-line overrides, especially for things
like -Doptimize.
diff -r -u perl-current/hints/linux.sh perl-andy/hints/linux.sh
--- perl-current/hints/linux.sh 2008-05-17 10:31:36.000000000 -0400
+++ perl-andy/hints/linux.sh 2008-07-29 09:54:20.000000000 -0400
@@ -97,7 +97,7 @@
esac
;;
*"Sun C"*)
- optimize='-xO2'
+ test "$optimize" || optimize='-xO2'
cccdlflags='-KPIC'
lddlflags='-G -Bdynamic'
# Sun C doesn't support gcc attributes, but, in many cases, doesn't
--
Andy Dougherty doughera@lafayette.edu
Thread Next