summaryrefslogtreecommitdiff
path: root/sci-electronics/systemc/files/systemc-2.3.0-config.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-electronics/systemc/files/systemc-2.3.0-config.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-electronics/systemc/files/systemc-2.3.0-config.patch')
-rw-r--r--sci-electronics/systemc/files/systemc-2.3.0-config.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/sci-electronics/systemc/files/systemc-2.3.0-config.patch b/sci-electronics/systemc/files/systemc-2.3.0-config.patch
new file mode 100644
index 000000000000..581e625c6113
--- /dev/null
+++ b/sci-electronics/systemc/files/systemc-2.3.0-config.patch
@@ -0,0 +1,21 @@
+# drop compiler check to enable use of CXX
+--- configure.in.old 2013-09-15 09:38:54.000000000 +0200
++++ configure.in 2013-09-15 09:40:31.000000000 +0200
+@@ -134,15 +134,8 @@
+ AC_MSG_ERROR("sorry...architecture not supported")
+ ;;
+ esac
+- case "$CXX_COMP" in
+- c++ | g++)
+- EXTRA_CXXFLAGS="${EXTRA_CXXFLAGS} -m${CPU_ARCH}"
+- EXTRA_ASFLAGS="-m${CPU_ARCH}"
+- ;;
+- *)
+- AC_MSG_ERROR("sorry...compiler not supported")
+- ;;
+- esac
++ EXTRA_CXXFLAGS="${EXTRA_CXXFLAGS} -m${CPU_ARCH}"
++ EXTRA_ASFLAGS="-m${CPU_ARCH}"
+ ;;
+ *freebsd*)
+ case "$target_cpu" in