[Bug 827167] Review Request: bumblebee - Bumblebee daemon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=827167

--- Comment #7 from Gary Gatling <gsgatlin@xxxxxxxxxxxx> ---
Stupid question...

How can I redifine:


%{optflags}

so that -fstack-protector is not included on 32 bit rhel 6? Nothing I am trying
is working...

Like:

%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
--param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom
-fasynchronous-unwind-tables -m32 -march=i686 -mtune=atom
-fasynchronous-unwind-tables
make %{?_smp_mflags} CFLAGS="%{optflags}"

or 

%define __global_cflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
--param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom
-fasynchronous-unwind-tables
make %{?_smp_mflags} CFLAGS="%{optflags}"

still doesn't work. It compiles a buggy binary with -fstack-protector on rhel 6
32 bit. only with:


make %{?_smp_mflags} CFLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom
-fasynchronous-unwind-tables"

does it build correctly.

Any help greatly appriciated as this is my first package.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]