summaryrefslogtreecommitdiff
path: root/packaging/rpm-tizen_macros
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/rpm-tizen_macros')
-rw-r--r--packaging/rpm-tizen_macros8
1 files changed, 4 insertions, 4 deletions
diff --git a/packaging/rpm-tizen_macros b/packaging/rpm-tizen_macros
index 21fa6fd41..5df91fbee 100644
--- a/packaging/rpm-tizen_macros
+++ b/packaging/rpm-tizen_macros
@@ -90,7 +90,7 @@
#
%configure \
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
- CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
+ CXXFLAGS="${CXXFLAGS:-%optflags -std=gnu++11}" ; export CXXFLAGS ; \
FFLAGS="${FFLAGS:-%optflags -I%_fmoddir}" ; export FFLAGS ; \
./configure --build=%{_build} --host=%{_host} \\\
--program-prefix=%{?_program_prefix} \\\
@@ -111,7 +111,7 @@
%reconfigure \
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
- CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
+ CXXFLAGS="${CXXFLAGS:-%optflags -std=gnu++11}" ; export CXXFLAGS ; \
FFLAGS="${FFLAGS:-%optflags -I%_fmoddir}" ; export FFLAGS ; \
autoreconf -v --install --force || exit 1 \
./configure --build=%{_build} --host=%{_host} \\\
@@ -132,7 +132,7 @@
%autogen \
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
- CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
+ CXXFLAGS="${CXXFLAGS:-%optflags -std=gnu++11}" ; export CXXFLAGS ; \
FFLAGS="${FFLAGS:-%optflags -I%_fmoddir}" ; export FFLAGS ; \
./autogen.sh --build=%{_build} --host=%{_host} \\\
--program-prefix=%{?_program_prefix} \\\
@@ -217,7 +217,7 @@ LANG=C\
export LANG\
unset DISPLAY\
CFLAGS="%optflags" ; export CFLAGS ; \
-CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
+CXXFLAGS="${CXXFLAGS:-%optflags -std=gnu++11}" ; export CXXFLAGS ; \
FFLAGS="${FFLAGS:-%optflags -I%_fmoddir}" ; export FFLAGS ; \
LDFLAGS="${LDFLAGS:-%{?global_LDFLAGS}}"; export LDFLAGS ; \
LD_AS_NEEDED=1; export LD_AS_NEEDED ; \