summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolai Merinov <n.merinov@samsung.com>2019-02-11 08:07:25 +0300
committerNikolai Merinov <n.merinov@samsung.com>2019-02-11 08:07:25 +0300
commit0d960e784970e96932e64adff7f16b68fa4a5e08 (patch)
treef2d0d9656e98aa9126864dd368ae169e8c1151b9
parent5a73bdc83434421b6bb2db327ca077796dc56d47 (diff)
downloadopencore-amr-sandbox/nmerinov/llvm.tar.gz
opencore-amr-sandbox/nmerinov/llvm.tar.bz2
opencore-amr-sandbox/nmerinov/llvm.zip
Do not pass std=gnu++11 for C compilationsandbox/nmerinov/llvm
-rw-r--r--packaging/opencore-amr.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/opencore-amr.spec b/packaging/opencore-amr.spec
index 6b854cc..e87ba2a 100644
--- a/packaging/opencore-amr.spec
+++ b/packaging/opencore-amr.spec
@@ -25,6 +25,8 @@ opencore AMRNB and AMRWB development package
cp %{SOURCE1001} .
%build
+# By default source compiled with "-x c", so disable C++ standard
+CXXFLAGS="${CXXFLAGS/-std=gnu++11/}"
./autogen.sh
%configure
make %{?jobs:-j%jobs}