packaging: explicitly added configure options
authorDongkyun, Son <dongkyun.s@samsung.com>
Thu, 2 Feb 2017 06:27:19 +0000 (15:27 +0900)
committerIvan Baravy <i.baravy@samsung.com>
Thu, 16 Feb 2017 16:57:40 +0000 (19:57 +0300)
--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>
packaging/gcc-aarch64.spec
packaging/gcc-armv7l.spec
packaging/linaro-gcc.spec

index c6af739..0c88fd3 100644 (file)
@@ -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)
index 8f817ce..298527c 100644 (file)
@@ -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)
index 12471a5..d4fbf0c 100644 (file)
@@ -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)