
$FreeBSD: ports/lang/cli/files/patch-pal::unix::configure,v 1.2 2002/04/09 21:38:14 sobomax Exp $

--- pal/unix/configure.orig	Thu Mar 14 20:21:45 2002
+++ pal/unix/configure	Tue Apr  9 19:29:27 2002
@@ -1010,17 +1010,17 @@
 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
 
-CFLAGS="-Wall -fPIC -fno-builtin -fno-exceptions"
+CFLAGS="$CFLAGS -Wall -fpic -DPIC -fno-builtin -fno-exceptions -fno-rtti"
 
 if test "$NTDEBUG" != "ntsdnodbg"; then
-   CFLAGS="$CFLAGS -g"
+#   CFLAGS="$CFLAGS -g"
 fi
 
 if test "$BUILD_ALT_DIR" = "df"; then
-   CFLAGS="$CFLAGS -O2"
+#   CFLAGS="$CFLAGS -O2"
 fi
 if test "$BUILD_ALT_DIR" = "r"; then
-   CFLAGS="$CFLAGS -O2"
+#   CFLAGS="$CFLAGS -O2"
 fi
 
 
