From 009b4237db4f8813b24eaabc8f031f8708477e39 Mon Sep 17 00:00:00 2001 From: guibuilder_pel7x64builder0 Date: Wed, 15 Dec 2021 23:35:00 +0100 Subject: [PATCH] xorg-x11-server update build flags Signed-off-by: guibuilder_pel7x64builder0 --- SPECS/xorg-x11-server.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/SPECS/xorg-x11-server.spec b/SPECS/xorg-x11-server.spec index 66ad4aa..5a816ad 100644 --- a/SPECS/xorg-x11-server.spec +++ b/SPECS/xorg-x11-server.spec @@ -8,6 +8,8 @@ # format, and add a PatchN: line. If you want to push something upstream, # check out the master branch, pull, cherry-pick, and push. +%global optflags -m64 -O2 + # X.org requires lazy relocations to work. %undefine _hardened_build %undefine _strict_symbol_defs_build @@ -353,7 +355,8 @@ test `getminor extension` == %{extension_minor} export CFLAGS="$RPM_OPT_FLAGS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" export CXXFLAGS="$RPM_OPT_FLAGS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" -export LDFLAGS="$RPM_LD_FLAGS -specs=/usr/lib/rpm/redhat/redhat-hardened-ld" +#export LDFLAGS="$RPM_LD_FLAGS -specs=/usr/lib/rpm/redhat/redhat-hardened-ld" +export LDFLAGS="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld" %ifnarch %{ix86} x86_64 %global no_int10 --disable-vbe --disable-int10-module @@ -362,7 +365,7 @@ export LDFLAGS="$RPM_LD_FLAGS -specs=/usr/lib/rpm/redhat/redhat-hardened-ld" %global kdrive --enable-kdrive --enable-xephyr --disable-xfake --disable-xfbdev %global xservers --enable-xvfb --enable-xnest %{kdrive} --enable-xorg %global default_font_path "catalogue:/etc/X11/fontpath.d,built-ins" -%global dri_flags --enable-dri --enable-dri2 %{?!rhel:--enable-dri3} --enable-suid-wrapper --enable-glamor +%global dri_flags --enable-dri --enable-dri2 --enable-dri3 --enable-suid-wrapper --enable-glamor autoreconf -f -v --install || exit 1