]> git.ipfire.org Git - ipfire-3.x.git/blame - gcc/gcc.nm
libseccomp: Update to 2.4.3
[ipfire-3.x.git] / gcc / gcc.nm
CommitLineData
166a6c21 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
166a6c21
MT
4###############################################################################
5
b57a0ea8
MT
6# Configure build to compile with graphite
7build_graphite = 1
166a6c21 8
802ea3af 9name = gcc
01758647 10version = 9.1.0
3cf85f49 11release = 1
f0d77f5d 12
802ea3af
MT
13maintainer = Michael Tremer <michael.tremer@ipfire.org>
14groups = Development/Compilers
15url = http://gcc.gnu.org/
16license = GPLv3+ and GPLv2+ with exceptions
17summary = Various compilers (C, C++, Objective-C, Java, ...).
166a6c21 18
802ea3af 19description
166a6c21
MT
20 The gcc package contains the GNU Compiler Collection. \
21 You'll need this package in order to compile C code.
802ea3af
MT
22end
23
24# This is the at least required version of binutils.
513f8ca4 25binutils_version = 2.24
802ea3af 26
de58ea22 27source_dl = http://ftp.gnu.org/gnu/gcc/%{thisapp}/
513f8ca4 28source_dl += ftp://gcc.gnu.org/pub/gcc/infrastructure/
802ea3af
MT
29sources = %{thisapp}.tar.gz
30
802ea3af
MT
31build
32 requires
33 autogen
513f8ca4 34 binutils >= %{binutils_version}
802ea3af
MT
35 dejagnu
36 elfutils-devel
37 expect
7e981e59 38 filesystem >= 002
802ea3af 39 flex
e0e5b1d5 40 glibc-devel >= 2.16
802ea3af
MT
41 gmp-devel
42 libffi-devel
b57a0ea8 43 libmpc-devel >= 0.8.1
802ea3af 44 mpfr-devel
4de56d3e 45 perl
802ea3af
MT
46 texinfo
47 zlib-devel
48 end
49
b57a0ea8
MT
50 # If graphite support is enabled, we require the devel packages for build.
51 if "%{build_graphite}" == "1"
52 requires += isl-devel >= 0.14
802ea3af
MT
53 end
54
56c0b63c
MT
55 # Build libquadmath (only on x86).
56 build_libquadmath = 0
57
513f8ca4
MT
58 # Build liblsan (only on x86_64).
59 build_liblsan = 0
60
00c77389
MT
61 # Build libtasn (only on x86_64).
62 build_libtsan = 0
63
b57a0ea8
MT
64 # Build libubsan
65 build_libubsan = 0
66
802ea3af
MT
67 # A couple of configure arguments depending on the architecture and
68 # configuration.
69 configure_options =
70
7bc68234
MT
71 make_bootstrap = profiledbootstrap
72
802ea3af
MT
73 if "%{DISTRO_ARCH}" == "x86_64"
74 configure_options = --disable-multilib
56c0b63c
MT
75
76 build_libquadmath = 1
513f8ca4 77 build_liblsan = 1
00c77389 78 build_libtsan = 1
b57a0ea8 79 build_libubsan = 1
802ea3af
MT
80 end
81
82 if "%{DISTRO_ARCH}" == "i686"
83 configure_options = --with-arch=%{DISTRO_ARCH} --with-tune=generic
56c0b63c
MT
84
85 build_libquadmath = 1
b57a0ea8 86 build_libubsan = 1
802ea3af
MT
87 end
88
b57a0ea8
MT
89 if "%{DISTRO_ARCH}" == "aarch64"
90 build_libubsan = 1
66e276de
MT
91 end
92
1a7bf898 93 if "%{DISTRO_ARCH}" == "armv7hl"
dc788393
MT
94 make_bootstrap = bootstrap
95
56c0b63c
MT
96 configure_options += --disable-sjlj-exceptions
97
98 configure_options += \
56c0b63c
MT
99 --with-tune=cortex-a8 \
100 --with-arch=armv7-a \
101 --with-float=hard \
102 --with-fpu=vfpv3-d16 \
103 --with-abi=aapcs-linux
b57a0ea8
MT
104
105 build_libubsan = 1
56c0b63c
MT
106 end
107
b57a0ea8
MT
108 if "%{DISTRO_ARCH}" == "armv5tel"
109 make_bootstrap = bootstrap
110
111 configure_options += --disable-sjlj-exceptions
112 configure_options += --with-float=soft
113
114 build_libubsan = 1
115 end
116
117 if "%{build_graphite}" == "1"
513f8ca4 118 configure_options += \
b57a0ea8 119 --with-isl
802ea3af
MT
120 end
121
802ea3af
MT
122 prepare_cmds
123 mkdir -v %{DIR_SRC}/gcc-build
124
125 # Remove unneeded features that will save some compile time
126 rm -rf lib{gfortran,java,objc} gcc/{fortran,java,objc,objcp}
127
128 # Apply a sed substitution that will suppress the installation of
129 # libiberty.a. The version of libiberty.a provided by Binutils will be used
130 # instead:
131 sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in
132
133 # Branding gcc
134 echo "%{DISTRO_NAME} %{version}-%{release}" > gcc/DEV-PHASE
135
136 # Libgomp uses -Werror regardless of --disable-werror, and this will cause a
137 # build failure when -D_FORTIFY_SOURCE=2 causes build time warnings:
138 sed -e "s/-Werror//" -i libgomp/configure
139
140 # The fixincludes script is known to occasionally erroneously attempt to
141 # "fix" the system headers installed so far. As the headers up to this point
142 # are known to not require fixing, issue the following command to prevent
143 # the fixincludes script from running:
144 sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
145
146 sed -i gcc/Makefile.in \
147 -e "s/-fno-exceptions/& -fno-asynchronous-unwind-tables/"
148
00c77389 149 #./contrib/gcc_update --touch
802ea3af
MT
150 end
151
b57a0ea8
MT
152 export CC=gcc
153 export CXX=g++
154
802ea3af
MT
155 build
156 cd %{DIR_SRC}/gcc-build
157
158 # Modify CFLAGS
802ea3af
MT
159 CFLAGS="%{CFLAGS}"
160 CFLAGS=$(echo ${CFLAGS} | sed -e 's/\(-Wp,\)\?-D_FORTIFY_SOURCE=[12]//g')
b57a0ea8 161 CFLAGS=$(echo ${CFLAGS} | sed -e 's/-Werror=format-security//g')
802ea3af 162 CFLAGS=$(echo ${CFLAGS} | sed -e 's/-m64//g;s/-m32//g;s/-m31//g')
513f8ca4 163 CFLAGS=$(echo ${CFLAGS} | sed -e 's/-mfpmath=sse/-mfpmath=sse -msse2/g')
56c0b63c
MT
164 CFLAGS=$(echo ${CFLAGS} | sed -e 's/-march=i.86//g')
165 CFLAGS=$(echo ${CFLAGS} | sed -e 's/ -pipe / /g')
802ea3af
MT
166 CFLAGS=$(echo "${CFLAGS}" | sed -e 's/[[:blank:]]\+/ /g')
167 CXXFLAGS=$(echo ${CFLAGS} | sed -e 's/ -Wall//g')
513f8ca4 168 CXXFLAGS=$(echo ${CXXFLAGS} | sed -e 's/ -fexceptions / /g')
b57a0ea8 169 #CXXFLAGS=$(echo ${CXXFLAGS} | sed -e 's/ -Werror=format-security / -Wformat -Werror=format-security /g')
513f8ca4
MT
170
171 case "${CFLAGS}" in
172 *-fasynchronous-unwind-tables*)
173 sed -i -e "s/-fno-exceptions /-fno-exceptions -fno-asynchronous-unwind-tables/" \
174 ../%{thisapp}/Makefile.in
175 ;;
176 esac
802ea3af
MT
177
178 CFLAGS="${CFLAGS}" \
179 CXXFLAGS="${CXXFLAGS}" \
180 XCFLAGS="${CFLAGS}" \
181 TCFLAGS="${CFLAGS}" \
182 ../%{thisapp}/configure \
183 --build=%{DISTRO_BUILDTARGET} \
166a6c21 184 --prefix=/usr \
c30b5fa5
MT
185 --libdir=%{libdir} \
186 --libexecdir=%{libdir} \
00c77389 187 --mandir=%{mandir} \
ec463524 188 --with-boot-ldflags="%{LDFLAGS}" \
b8b873e7 189 --enable-esp \
166a6c21
MT
190 --enable-shared \
191 --enable-threads=posix \
192 --enable-__cxa_atexit \
193 --enable-clocale=gnu \
f23b0b6e
MT
194 --enable-languages=c,c++,lto \
195 --enable-bootstrap \
196 --enable-checking=release \
ae73e818 197 --enable-default-pie \
166a6c21
MT
198 --disable-werror \
199 --disable-libssp \
f23b0b6e
MT
200 --with-system-zlib \
201 --with-bugurl=http://bugtracker.ipfire.org \
b415c6aa
MT
202 --disable-libunwind-exceptions \
203 --enable-gnu-unique-object \
204 --enable-linker-build-id \
4de56d3e 205 --with-linker-hash-style=gnu \
00c77389
MT
206 --enable-plugin \
207 --enable-initfini-array \
513f8ca4 208 --disable-libgcj \
b57a0ea8 209 --enable-gnu-indirect-function \
802ea3af
MT
210 %{configure_options}
211
513f8ca4
MT
212 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58012
213 # XXX disabled flags: --disable-static
214
802ea3af 215 # GCC does not support a parallel build.
7bc68234 216 make %{make_bootstrap} BOOT_CFLAGS="${CFLAGS}"
4de56d3e
MT
217
218 # Generate man pages.
219 perl -pi -e 's/head3/head2/' ../contrib/texi2pod.pl
220 for i in %{DIR_APP}/gcc/doc/*.texi; do
221 cp -a $i $i.orig; sed 's/ftable/table/' $i.orig > $i
222 done
223 make -C gcc generated-manpages
224 for i in %{DIR_APP}/gcc/doc/*.texi; do mv -f $i.orig $i; done
802ea3af
MT
225 end
226
227 #test
513f8ca4 228 # cd %{DIR_SRC}/gcc-build && make -k check || true
802ea3af
MT
229 # cd %{DIR_APP} && ./contrib/test_summary
230 #end
231
232 install
233 cd %{DIR_SRC}/gcc-build
234 make install DESTDIR=%{BUILDROOT}
235
56c0b63c 236 # Check if the installation path exists.
c30b5fa5 237 FULLPATH="%{BUILDROOT}%{libdir}/gcc/%{DISTRO_BUILDTARGET}/%{version}"
56c0b63c
MT
238 [ -d "${FULLPATH}" ] || exit 1
239
7e981e59
MT
240 mkdir -pv %{BUILDROOT}%{prefix}/lib
241 ln -sfv ../bin/cpp %{BUILDROOT}%{prefix}/lib/cpp
802ea3af
MT
242 ln -sfv gcc %{BUILDROOT}/usr/bin/cc
243
0302fa63 244 # Fix libgcc_s symlinks.
c30b5fa5 245 rm -f ${FULLPATH}/libgcc_s.so %{BUILDROOT}%{libdir}/libgcc_s.so
13319128
MT
246 case "%{DISTRO_ARCH}" in
247 arm*)
13319128
MT
248 cat <<EOF >${FULLPATH}/libgcc_s.so
249 /* GNU ld script
250 Use the shared library, but some functions are only in
251 the static library, so try that secondarily. */
252 OUTPUT_FORMAT(elf32-littlearm)
0302fa63 253 GROUP ( %{libdir}/libgcc_s.so.1 libgcc.a )
13319128
MT
254 EOF
255 ;;
256 *)
62f274aa 257 ln -svf ../../../../..%{libdir}/libgcc_s.so.1 ${FULLPATH}/libgcc_s.so
13319128
MT
258 ;;
259 esac
62f274aa 260 chmod 755 %{BUILDROOT}%{libdir}/libgcc_s.so.1
802ea3af
MT
261
262 # Remove some GNU debugger stuff.
c30b5fa5 263 rm -vf %{BUILDROOT}%{libdir}/lib*.py
56c0b63c 264
0f737982
MT
265 # Install missing header file(s) on ARM.
266 case "%{DISTRO_ARCH}" in
267 arm*)
268 cp -vf %{DIR_APP}/gcc/config/vxworks-dummy.h \
269 ${FULLPATH}/plugin/include/config/
270 cp -vf %{DIR_APP}/gcc/config/arm/arm-cores.def \
271 ${FULLPATH}/plugin/include/config/arm/
272 ;;
273 esac
274
56c0b63c 275 # libgomp
c30b5fa5 276 mv -vf %{BUILDROOT}%{libdir}/libgomp.spec ${FULLPATH}/
56c0b63c 277 ln -svf ../../../libgomp.so.1.0.0 ${FULLPATH}/libgomp.so
c30b5fa5 278 chmod 755 %{BUILDROOT}%{libdir}/libgomp.so.1.*
56c0b63c
MT
279
280 # libstdc++
01758647 281 ln -svf ../../../libstdc++.so.6.0.26 ${FULLPATH}/libstdc++.so
b57a0ea8 282 mv -vf %{BUILDROOT}%{libdir}/lib{std,sup}c++.a ${FULLPATH}
56c0b63c
MT
283
284 # libquadmath
285 if [ "%{build_libquadmath}" = "1" ]; then
9d2ad5e3 286 ln -svf ../../../libquadmath.so.0.0.0 ${FULLPATH}/libquadmath.so
c30b5fa5 287 chmod 755 %{BUILDROOT}%{libdir}/libquadmath.so.0.*
56c0b63c 288 fi
4de56d3e
MT
289
290 # libitm
291 mv -vf %{BUILDROOT}%{libdir}/libitm.spec ${FULLPATH}/
292 ln -svf ../../../libitm.so.1.0.0 ${FULLPATH}/libitm.so
293 chmod 755 %{BUILDROOT}%{libdir}/libitm.so.1.*
513f8ca4
MT
294
295 # liblsan
296 if [ "%{build_liblsan}" = "1" ]; then
297 ln -svf ../../../liblsan.so.0.0.0 ${FULLPATH}/liblsan.so
298 chmod 755 %{BUILDROOT}%{libdir}/liblsan.so.*
299 fi
300
301 # libtsan
302 if [ "%{build_libtsan}" = "1" ]; then
303 ln -svf ../../../libtsan.so.0.0.0 ${FULLPATH}/libtsan.so
304 chmod 755 %{BUILDROOT}%{libdir}/libtsan.so.*
305 fi
306
307 # libubsan
b57a0ea8 308 if [ "%{build_libubsan}" = "1" ]; then
1ad8926b 309 ln -svf ../../../libubsan.so.1.0.0 ${FULLPATH}/libubsan.so
b57a0ea8
MT
310 chmod 755 %{BUILDROOT}%{libdir}/libubsan.so.*
311 fi
802ea3af 312 end
876f9cff
MT
313
314 keep_libraries
c30b5fa5
MT
315 %{libdir}/gcc/%{DISTRO_BUILDTARGET}/%{version}/libgcc.a
316 %{libdir}/gcc/%{DISTRO_BUILDTARGET}/%{version}/libgcc_eh.a
b57a0ea8
MT
317 %{libdir}/gcc/%{DISTRO_BUILDTARGET}/%{version}/libstdc++.a
318 %{libdir}/gcc/%{DISTRO_BUILDTARGET}/%{version}/libsupc++.a
876f9cff 319 end
802ea3af
MT
320end
321
322packages
323 package %{name}
324 groups += Build
325
326 requires
513f8ca4 327 binutils >= %{binutils_version}
7e981e59 328 filesystem >= 002
e0e5b1d5 329 glibc >= 2.16
802ea3af 330 glibc-devel
7112214f 331 gmp-devel
0302fa63
MT
332 cpp = %{thisver}
333 libgcc = %{thisver}
334 libgomp = %{thisver}
802ea3af
MT
335 end
336
9d2ad5e3 337 # We do not ship libgcc-devel anymore.
0302fa63
MT
338 provides += libgcc-devel = %{thisver}
339 obsoletes += libgcc-devel < %{thisver}
802ea3af
MT
340 end
341
802ea3af 342 package %{name}-c++
56c0b63c
MT
343 summary = C++ support for GCC.
344 description
345 This package adds C++ support to the GNU Compiler Collection.
346 It includes support for most of the current C++ specification,
347 including templates and exception handling.
348 end
349
350 requires
0302fa63
MT
351 gcc = %{thisver}
352 libstdc++ = %{thisver}
353 libstdc++-devel = %{thisver}
56c0b63c 354 end
802ea3af
MT
355
356 files
357 /usr/bin/*++
c30b5fa5 358 %{libdir}/gcc/*/*/cc1plus
802ea3af
MT
359 /usr/share/man/man*/*++*
360 end
361 end
362
56c0b63c
MT
363 package cpp
364 summary = The C Preprocessor.
365 description
366 Cpp is the GNU C-Compatible Compiler Preprocessor.
367 Cpp is a macro processor which is used automatically
368 by the C compiler to transform your program before actual
369 compilation. It is called a macro processor because it allows
370 you to define macros, abbreviations for longer
371 constructs.
372
373 The C preprocessor provides four separate functionalities: the
374 inclusion of header files (files of declarations that can be
375 substituted into your program); macro expansion (you can define macros,
376 and the C preprocessor will replace the macros with their definitions
377 throughout the program); conditional compilation (using special
378 preprocessing directives, you can include or exclude parts of the
379 program according to various conditions); and line control (if you use
380 a program to combine or rearrange source files into an intermediate
381 file which is then compiled, you can use line control to inform the
382 compiler about where each source line originated).
383
384 You should install this package if you are a C programmer and you use
385 macros.
386 end
387 group = Development/Languages
388
802ea3af 389 files
7e981e59
MT
390 %{prefix}/lib/cpp
391 %{bindir}/cpp
392 %{mandir}/man1/cpp.1*
c30b5fa5 393 %{libdir}/gcc/%{DISTRO_BUILDTARGET}/%{version}/cc1
802ea3af 394 end
7e981e59
MT
395
396 provides = /lib/cpp
62f274aa 397 requires = gcc-c++ = %{thisver}
802ea3af
MT
398 end
399
56c0b63c
MT
400 package libgcc
401 summary = GCC shared support library.
402 description
403 This package contains GCC shared support library which is needed
404 e.g. for exception handling support.
405 end
802ea3af
MT
406
407 files
0302fa63 408 %{libdir}/libgcc*.so.*
802ea3af 409 end
513f8ca4
MT
410
411 obsoletes
412 libmudflap
413 libmudflap-devel
414 end
802ea3af
MT
415 end
416
417 package libstdc++
56c0b63c
MT
418 summary = GNU Standard C++ Library.
419 description
420 The libstdc++ package contains a rewritten standard compliant GCC Standard
421 C++ Library.
422 end
423
802ea3af 424 files
c30b5fa5 425 %{libdir}/libstdc++*.so.*
802ea3af
MT
426 end
427 end
428
429 package libstdc++-devel
56c0b63c
MT
430 summary = Header files and libraries for C++ development.
431 description
432 This is the GNU implementation of the standard C++ libraries. This
433 package includes the header files and libraries needed for C++
434 development. This includes rewritten implementation of STL.
435 end
436
437 requires
0302fa63 438 libstdc++ = %{thisver}
56c0b63c
MT
439 end
440
802ea3af 441 files
c30b5fa5
MT
442 %{includedir}/c++
443 %{libdir}/libstdc++*.so
802ea3af
MT
444 end
445 end
446
b57a0ea8
MT
447 package libstdc++-static
448 summary = Static libraries for the GNU standard C++ library
449 description = %{summary}
450
451 requires
452 libstdc++-devel = %{thisver}
453 end
454
455 files
456 %{libdir}/gcc/%{DISTRO_BUILDTARGET}/%{version}/libstdc++.a
457 %{libdir}/gcc/%{DISTRO_BUILDTARGET}/%{version}/libsupc++.a
458 end
459 end
460
802ea3af 461 package libgomp
56c0b63c
MT
462 summary = GCC OpenMP v3.0 shared support library.
463 description
464 This package contains GCC shared support library which is needed
465 for OpenMP v3.0 support.
802ea3af 466 end
802ea3af 467
802ea3af 468 files
c30b5fa5 469 %{libdir}/libgomp*.so.*
802ea3af
MT
470 end
471 end
472
56c0b63c
MT
473 if "%{build_libquadmath}" == "1"
474 package libquadmath
475 summary = GCC __float128 shared support library.
476 description
477 This package contains GCC shared support library which is needed
478 for __float128 math support and for Fortran REAL*16 support.
479 end
480
481 files
c30b5fa5 482 %{libdir}/libquadmath*.so.*
56c0b63c
MT
483 end
484 end
485
486 package libquadmath-devel
487 summary = Development files for GCC __float128 support.
488 description
489 This package contains headers for building Fortran programs using
490 REAL*16 and programs using __float128 math.
491 end
492
493 requires
0302fa63
MT
494 gcc = %{thisver}
495 libquadmath = %{thisver}
56c0b63c
MT
496 end
497
498 files
2a3a31bb 499 %{libdir}/libquadmath.so
c30b5fa5
MT
500 %{libdir}/gcc/%{DISTRO_BUILDTARGET}/%{version}/include/quadmath.h
501 %{libdir}/gcc/%{DISTRO_BUILDTARGET}/%{version}/include/quadmath_weak.h
502 %{libdir}/gcc/%{DISTRO_BUILDTARGET}/%{version}/libquadmath.so
56c0b63c 503 end
802ea3af
MT
504 end
505 end
506
4de56d3e
MT
507 package libitm
508 summary = The GNU Transactional Memory library.
509 description
510 This package contains the GNU Transactional Memory library
511 which is a GCC transactional memory support runtime library.
512 end
513
514 files
1ad8926b 515 %{libdir}/libitm.so.*
4de56d3e
MT
516 end
517 end
518
519 package libitm-devel
520 summary = The GNU Transactional Memory support.
521 description
522 This package contains headers and support files for the
523 GNU Transactional Memory library.
524 end
525
526 requires
527 gcc = %{thisver}
528 libitm = %{thisver}
529 end
530
531 files
2a3a31bb 532 %{libdir}/libitm.so
4de56d3e
MT
533 %{libdir}/gcc/%{DISTRO_BUILDTARGET}/%{version}/include/itm.h
534 %{libdir}/gcc/%{DISTRO_BUILDTARGET}/%{version}/include/itm_weak.h
535 %{libdir}/gcc/%{DISTRO_BUILDTARGET}/%{version}/libitm.so
536 end
537 end
538
00c77389
MT
539 package libatomic
540 summary = The GNU Atomic library
541 description
542 This package contains the GNU Atomic library which is a
543 GCC support runtime library for atomisc operations not
544 supported by hardware.
545 end
546
547 files
1ad8926b 548 %{libdir}/libatomic.so.*
00c77389
MT
549 end
550 end
551
552 package libasan
553 summary = The Address Sanitizer runtime library
554 description
555 This package contains the Address Sanitizer library
556 which is used for -fsanitize=address instrumented programs.
557 end
558
559 files
1ad8926b 560 %{libdir}/libasan.so.*
00c77389
MT
561 end
562 end
563
564 if "%{build_libtsan}" == "1"
565 package libtsan
566 summary = The Thread Sanitizer runtime library
567 description
568 This package contains the Thread Sanitizer library
569 which is used for -fsanitize=thread instrumented programs.
570 end
571
572 files
1ad8926b 573 %{libdir}/libtsan.so.*
00c77389
MT
574 end
575 end
576 end
577
b57a0ea8
MT
578 if "%{build_libubsan}" == "1"
579 package libubsan
580 summary = The Undefined Behavior Sanitizer runtime library
581 description
582 This package contains the Undefined Behavior Sanitizer library
583 which is used for -fsanitize=undefined instrumented programs.
584 end
513f8ca4 585
b57a0ea8 586 files
1ad8926b 587 %{libdir}/libubsan.so.*
b57a0ea8 588 end
513f8ca4
MT
589 end
590 end
591
592 if "%{build_liblsan}" == "1"
593 package liblsan
594 summary = The Leak Sanitizer runtime library
595 description
596 This package contains the Leak Sanitizer library
597 which is used for -fsanitize=leak instrumented programs.
598 end
599
600 files
1ad8926b 601 %{libdir}/liblsan.so.*
513f8ca4
MT
602 end
603 end
604 end
605
56c0b63c
MT
606 package gcc-plugin-devel
607 summary = Support for compiling GCC plugins.
608 description
609 This package contains header files and other support files
610 for compiling GCC plugins. The GCC plugin ABI is currently
611 not stable, so plugins must be rebuilt any time GCC is updated.
612 end
613
614 requires
0302fa63
MT
615 gcc = %{thisver}
616 gmp-devel >= 4.1.2-8
617 mpfr-devel >= 2.2.1
618 libmpc-devel >= 0.8.1
56c0b63c
MT
619 end
620
802ea3af 621 files
c30b5fa5 622 %{libdir}/gcc/%{DISTRO_BUILDTARGET}/%{version}/plugin
802ea3af
MT
623 end
624 end
1f9bc2f0
MT
625
626 package %{name}-debuginfo
627 template DEBUGINFO
628 end
802ea3af 629end