summaryrefslogtreecommitdiffstats
path: root/cad/systemc/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'cad/systemc/files/patch-configure')
-rw-r--r--cad/systemc/files/patch-configure36
1 files changed, 36 insertions, 0 deletions
diff --git a/cad/systemc/files/patch-configure b/cad/systemc/files/patch-configure
new file mode 100644
index 0000000..49d164b
--- /dev/null
+++ b/cad/systemc/files/patch-configure
@@ -0,0 +1,36 @@
+--- configure.orig Sun Feb 26 23:35:41 2006
++++ configure Sun Feb 26 23:34:39 2006
+@@ -3309,6 +3309,25 @@
+ AS=as
+ QT_ARCH="sparc-os2"
+ ;;
++ *freebsd*)
++ case "$CXX_COMP" in
++ c++ | g++)
++ EXTRA_CXXFLAGS="-Wall"
++ DEBUG_CXXFLAGS="-g"
++ OPT_CXXFLAGS="-O3"
++ TARGET_ARCH="freebsd"
++ CC="$CXX"
++ CFLAGS="$EXTRA_CXXFLAGS $OPT_CXXFLAGS"
++ ;;
++ *)
++ { { echo "$as_me:$LINENO: error: \"sorry...compiler not supported\"" >&5
++echo "$as_me: error: \"sorry...compiler not supported\"" >&2;}
++ { (exit 1); exit 1; }; }
++ ;;
++ esac
++ AS=as
++ QT_ARCH="iX86"
++ ;;
+ *linux*)
+ case "$CXX_COMP" in
+ c++ | g++)
+@@ -3387,7 +3406,6 @@
+
+
+ test "x$prefix" = xNONE && prefix=$srcdir
+-current_dir=`pwd`; cd $prefix; prefix=`pwd`; cd $current_dir
+
+
+
OpenPOWER on IntegriCloud