mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
44b93c4e1f
PR: 40849 Submitted by: Tilman Linneweh <tilman@arved.de> * Requires perl to build. * Don't overwrite optimization level passed in CFLAGS. * Fix build with gcc3.1 (-CURRENT). Reviewed by: Tilman Linneweh <tilman@arved.de> * There are serious LP64 issues; only build on i386.
18 lines
517 B
Plaintext
18 lines
517 B
Plaintext
|
|
$FreeBSD$
|
|
|
|
--- configure.orig Mon Jul 22 00:48:09 2002
|
|
+++ configure Mon Jul 22 00:48:28 2002
|
|
@@ -846,9 +846,9 @@
|
|
echo "$ac_t""$CPP" 1>&6
|
|
|
|
if test x$GCC = xyes; then
|
|
- CFLAGS2="-O2 -Wall -Wno-implicit -Wmissing-prototypes"
|
|
+ CFLAGS2=""
|
|
else
|
|
- CFLAGS2="-O"
|
|
+ CFLAGS2=""
|
|
echo "WARNING: Not using GCC to compile may be hazzardous to your health."
|
|
echo " If you can get Slirp to compile and run w/o GCC, notify us so"
|
|
echo " we can test for which compiler you're using. RedWolf recommends"
|