summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongkyun, Son <dongkyun.s@samsung.com>2017-02-02 15:27:19 +0900
committerIvan Baravy <i.baravy@samsung.com>2017-02-16 19:57:40 +0300
commit3da155a0d55bbe3eed04892bdd980b1266e513ce (patch)
tree4a68f43e611725187f44a4ec99b6def6ba76eb5f
parentcec64b97cb5e50e9bba30b3fd12ce01745677446 (diff)
downloadlinaro-gcc-3da155a0d55bbe3eed04892bdd980b1266e513ce.tar.gz
linaro-gcc-3da155a0d55bbe3eed04892bdd980b1266e513ce.tar.bz2
linaro-gcc-3da155a0d55bbe3eed04892bdd980b1266e513ce.zip
packaging: explicitly added configure options
--enable-plugin (same as 4.9's) --disable-libcc1 (new on 6.2's) Change-Id: I005be6c5c888597cda64b0fe94b6d20399ef4c93 Signed-off-by: Dongkyun, Son <dongkyun.s@samsung.com>
-rw-r--r--packaging/gcc-aarch64.spec15
-rw-r--r--packaging/gcc-armv7l.spec15
-rw-r--r--packaging/linaro-gcc.spec15
3 files changed, 42 insertions, 3 deletions
diff --git a/packaging/gcc-aarch64.spec b/packaging/gcc-aarch64.spec
index c6af73926d7..0c88fd34b84 100644
--- a/packaging/gcc-aarch64.spec
+++ b/packaging/gcc-aarch64.spec
@@ -750,6 +750,14 @@ UBSan runtime environment
%post -n ubsan-runtime-env
echo "print_cmdline=true:log_path=/tmp/ubsan.log" > /UBSAN_OPTIONS
+%package plugin-devel
+Summary: GNU GCC Plugin development files
+License: GPL-3.0+
+Group: Development/Languages
+%description plugin-devel
+This package contains GCC Plugin development files needed for compiler
+plugins build.
+
%package -n sanitizer-sources
Summary: Sanitizer family tools sources
License: MIT
@@ -807,7 +815,8 @@ TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS" \
--disable-libssp \
--disable-bootstrap \
--disable-libvtv \
- --disable-plugin \
+ --enable-plugin \
+ --disable-libcc1 \
--disable-libgcj \
--with-slibdir=%{libdir} \
--with-system-zlib \
@@ -1092,6 +1101,10 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%{libsubdir}/cc1
/lib/cpp
+%files plugin-devel
+%defattr(-,root,root)
+%{libsubdir}/plugin/*
+
%{?gcc_run_tests:
%files testresults
%defattr(-,root,root)
diff --git a/packaging/gcc-armv7l.spec b/packaging/gcc-armv7l.spec
index 8f817ceb02f..298527c11b8 100644
--- a/packaging/gcc-armv7l.spec
+++ b/packaging/gcc-armv7l.spec
@@ -750,6 +750,14 @@ UBSan runtime environment
%post -n ubsan-runtime-env
echo "print_cmdline=true:log_path=/tmp/ubsan.log" > /UBSAN_OPTIONS
+%package plugin-devel
+Summary: GNU GCC Plugin development files
+License: GPL-3.0+
+Group: Development/Languages
+%description plugin-devel
+This package contains GCC Plugin development files needed for compiler
+plugins build.
+
%package -n sanitizer-sources
Summary: Sanitizer family tools sources
License: MIT
@@ -807,7 +815,8 @@ TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS" \
--disable-libssp \
--disable-bootstrap \
--disable-libvtv \
- --disable-plugin \
+ --enable-plugin \
+ --disable-libcc1 \
--disable-libgcj \
--with-slibdir=%{libdir} \
--with-system-zlib \
@@ -1092,6 +1101,10 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%{libsubdir}/cc1
/lib/cpp
+%files plugin-devel
+%defattr(-,root,root)
+%{libsubdir}/plugin/*
+
%{?gcc_run_tests:
%files testresults
%defattr(-,root,root)
diff --git a/packaging/linaro-gcc.spec b/packaging/linaro-gcc.spec
index 12471a5bb8e..d4fbf0c7a46 100644
--- a/packaging/linaro-gcc.spec
+++ b/packaging/linaro-gcc.spec
@@ -747,6 +747,14 @@ UBSan runtime environment
%post -n ubsan-runtime-env
echo "print_cmdline=true:log_path=/tmp/ubsan.log" > /UBSAN_OPTIONS
+%package plugin-devel
+Summary: GNU GCC Plugin development files
+License: GPL-3.0+
+Group: Development/Languages
+%description plugin-devel
+This package contains GCC Plugin development files needed for compiler
+plugins build.
+
%package -n sanitizer-sources
Summary: Sanitizer family tools sources
License: MIT
@@ -804,7 +812,8 @@ TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS" \
--disable-libssp \
--disable-bootstrap \
--disable-libvtv \
- --disable-plugin \
+ --enable-plugin \
+ --disable-libcc1 \
--disable-libgcj \
--with-slibdir=%{libdir} \
--with-system-zlib \
@@ -1089,6 +1098,10 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%{libsubdir}/cc1
/lib/cpp
+%files plugin-devel
+%defattr(-,root,root)
+%{libsubdir}/plugin/*
+
%{?gcc_run_tests:
%files testresults
%defattr(-,root,root)