From 3da155a0d55bbe3eed04892bdd980b1266e513ce Mon Sep 17 00:00:00 2001 From: "Dongkyun, Son" Date: Thu, 2 Feb 2017 15:27:19 +0900 Subject: [PATCH] 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 --- packaging/gcc-aarch64.spec | 15 ++++++++++++++- packaging/gcc-armv7l.spec | 15 ++++++++++++++- packaging/linaro-gcc.spec | 15 ++++++++++++++- 3 files changed, 42 insertions(+), 3 deletions(-) diff --git a/packaging/gcc-aarch64.spec b/packaging/gcc-aarch64.spec index c6af739..0c88fd3 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 8f817ce..298527c 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 12471a5..d4fbf0c 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) -- 2.7.4