Commit Graph

617 Commits

Author SHA1 Message Date
Panu Matilainen 6e5c1076ec - config.guess/sub don't need to be group-writable (#1061762) 2014-02-07 11:00:05 +02:00
Kevin Fenzi 6c38f18be2 Update libtool hardening hack and re-enable (#978949) 2014-01-25 10:10:32 +02:00
Dhiru Kholia 33b9cbdc67 Enable "-Werror=format-security" by default (#1043495) 2014-01-25 10:10:32 +02:00
Karsten Hopp e0046a7a16 update config.sub with ppc64p7 support (already in automake) We used to fix this in the selected ppc64p7 packages, but can't do that anymore because the current %configure macro overwrites our changes. 2014-01-25 10:10:32 +02:00
Panu Matilainen 1046b9e79a - update config.guess/sub from upstream for little-endian ppc archs 2014-01-25 10:10:32 +02:00
Kevin Fenzi e606f56f34 Make docdirs unversioned on Fedora 20+ (#986871) 2014-01-25 10:03:26 +02:00
Kevin Fenzi b4b00eca04 Hack around libtool issue for hardened build for now (#978949) 2014-01-25 10:03:26 +02:00
Panu Matilainen 76c839e23e - fix brp-java-repack-jars failing on strange permissions (#905573) 2014-01-25 10:03:26 +02:00
Panu Matilainen d4c5b38371 - switch from -fstack-protector to -fstack-protector-strong (#978763) 2014-01-25 10:03:26 +02:00
Panu Matilainen 5f7da21873 - make cpu limit for building configurable through _smp_ncpus_max macro - forward "port" from rhel-6 (#669638) 2014-01-25 10:03:26 +02:00
T.C. Hollingsworth 31a511cc04 add nodejs_arches macro for ExclusiveArch for Node.js packages 2014-01-25 10:03:26 +02:00
Adam Jackson 4a42acd940 redhat-config-*: Use + to append rather than %rename, to protect against
multiple -specs= ending up in the command line. (#892837)
2014-01-25 10:03:26 +02:00
Panu Matilainen 0466a24ccb - Also set FCFLAGS from %%configure (#914831) 2014-01-25 10:03:26 +02:00
Panu Matilainen 48bdcffed2 - Add optflags stack protector override for AArch64 (#909788) 2014-01-25 10:03:26 +02:00
Panu Matilainen 2a557175eb - Switch back to manual config.guess/sub copies for reproducability - Replace config.guess/sub from %%configure again (#951442) 2014-01-25 10:03:14 +02:00
Panu Matilainen b9eb0a184b - Add -grecord-gcc-switches to global CFLAGS (#951669) 2014-01-25 00:41:21 +02:00
Jens Petersen 09b575178f add ARM to ghc_arches_with_ghci for ghc-7.4.2 ghci support
This change must not be backported to F18 before ghc-7.4.2.
2014-01-25 00:39:47 +02:00
Toshio Kuratomi d22596b0c1 Patch to fix spaces in java jar files
https://bugzilla.redhat.com/show_bug.cgi?id=872737
2014-01-25 00:37:36 +02:00
Toshio Kuratomi 1891cc0aeb Patch to fix spaces in files used in filtering macros
https://bugzilla.redhat.com/show_bug.cgi?id=783932
2014-01-25 00:35:48 +02:00
Ville Skyttä e8199cfec5 Drop (un)setting LANG and DISPLAY in various build stages.
rpm >= 4.8.0 takes care of that itself.
2014-01-25 00:35:48 +02:00
Toshio Kuratomi f41a8a73aa Fix kernel_source macro to match the directory that kernel sources are installed in
https://bugzilla.redhat.com/show_bug.cgi?id=648996
2014-01-25 00:35:48 +02:00
Toshio Kuratomi 2f654df096 Patch _mandir, _infodir, and _defaultocdir to use _prefix
https://bugzilla.redhat.com/show_bug.cgi?id=853216
2014-01-25 00:35:48 +02:00
Toshio Kuratomi be607b55f4 Java jars need the MANIFEST.MF file to be first in the archive
https://bugzilla.redhat.com/show_bug.cgi?id=465664
2014-01-25 00:35:48 +02:00
Toshio Kuratomi f40ecfaa06 Add patch from https://bugzilla.redhat.com/show_bug.cgi?id=783433
to fix spaces in files and directories that are fed to the
brp-python-hardlink script
2014-01-25 00:35:32 +02:00
Panu Matilainen 98d1974f20 - enable minidebuginfo generation (#834073) 2014-01-25 00:14:16 +02:00
Panu Matilainen 3b282b08f2 - revert back to plain -g, -g3 seems to cancel dwz size improvements 2014-01-25 00:13:09 +02:00
Panu Matilainen 1cff11580f - require dwz, enable dwarf compression for debuginfo packages (#833311) 2014-01-25 00:11:43 +02:00
Jens Petersen 0bdcad5349 ghc_arches: add s390 and s390x 2014-01-25 00:09:07 +02:00
Panu Matilainen 2e8b7fa04c - add GNAT arch definitions 2014-01-25 00:07:47 +02:00
Dennis Gilmore 5b8380d52b per ppc team request drop -mminimal-toc on ppc64 2014-01-25 00:05:30 +02:00
Jens Petersen 28c041a114 macros.ghc-srpm: add ghc_arches_with_ghci for fully bootstrapped ghc archs 2014-01-24 23:56:26 +02:00
Dennis Gilmore 36225c3b7c Revert "macros: Globally add --disable-silent-rules to configure"
This reverts commit 8174ec3d10.

remove patch that forces --disable-silent-rules to configure it breaks anything set to not ignore unknown configure options
2014-01-24 23:55:03 +02:00
Jens Petersen 68557142e4 add armv5tel to ghc_arches 2014-01-24 23:51:28 +02:00
Dennis Gilmore 401166077f build armv5tel on armv7l since they are the same abi armv7hl is a incompatable ABI 2014-01-24 23:49:36 +02:00
Jens Petersen 74c45dc8c2 add armv7hl to ghc_arches 2014-01-24 23:47:43 +02:00
Adam Jackson 7b12d83d77 redhat-hardened-cc1: Inject -fPIE, not -fPIC. cf. http://lists.fedoraproject.org/pipermail/devel/2011-September/157365.html 2014-01-24 23:45:40 +02:00
Adam Jackson 5034f24e6a Expose %_hardening_{c,ld}flags independently to make it easier for packages to apply them to selected components 2014-01-24 23:45:05 +02:00
Colin Walters 8174ec3d10 macros: Globally add --disable-silent-rules to configure
Various projects have been adding AM_SILENT_RULES from Automake to
their Makefiles for "developer convenience"; the goal being that they
see warnings more easily.

Now really the right way to do this is to have a make wrapper (or an IDE)
that knows how to filter out warnings, but let's leave that aside for now.

But for debugging builds, we really need the full log data.  Being
able to see exactly how e.g. libtool is being run helps a lot for
debugging link problems as an example.
2014-01-24 23:42:25 +02:00
Adam Jackson 0ae4b38eee redhat-hardened-{cc1,ld}: Move some of the rewrite magic to gcc specs so we don't end up with both -fPIC and -fPIE on the command line 2014-01-24 23:41:09 +02:00
Adam Jackson 51811936c4 redhat-rpm-config-9.1.0-hardened.patch: Add macro magic for %_hardened_build 2014-01-24 23:36:04 +02:00
Adam Jackson 4b29a24132 redhat-rpm-config-9.1.0-relro.patch: LDFLAGS, not CFLAGS. 2014-01-24 23:34:16 +02:00
Jon Masters 16f86875d9 redhat-rpm-config: change default arch level target for all ARM v7 to armv7hl
All ARM version 7 systems support a vector hardware floating point unit and
have the ability to run using the hard floating point ABI (aapcs-vfpv3-d16).
This is the only configuration we support as a v7 target, so we force the
use of hard floating point. This prevents e.g. packages being built with
a armv5tel target on an armv7 system without explicit intent.

Signed-off-by: Jon Masters <jcm@jonmasters.org>
2014-01-24 23:30:45 +02:00
Adam Jackson 60aea2849e Add -z relro 2014-01-24 23:24:07 +02:00
Jens Petersen d8bfddbf7e Revert "replace ghc_archs with ghc_excluded_archs"
This reverts commit 8fc99b69b6.
2014-01-24 23:22:42 +02:00
Jens Petersen 71ab2d9056 replace ghc_archs with ghc_excluded_archs 2014-01-24 23:19:09 +02:00
Dennis Gilmore fe1e807f2f add arm hardware floating point macros update the armv7l macros 2014-01-24 23:13:58 +02:00
Dennis Gilmore dc985dd5fc add a -srpm to the arch macros so they dont conflict with the langaugae base arch macros 2014-01-24 23:12:41 +02:00
Dennis Gilmore 9ecf19e1bd add macros defining arches so language stacks can add new arches without adding the arches to every spec file macros are needed at srpm creation time so live here 2014-01-24 23:02:24 +02:00
Panu Matilainen 26a7faf833 - adjust to new pkg-config behavior wrt private dependencies (#596433) 2014-01-24 22:57:27 +02:00
Kevin Fenzi e04bd964a3 Update libtool hardening hack and re-enable (#978949) 2014-01-13 12:45:57 -07:00