Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP5
klee-uclibc
proper-compiler-flags-check.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File proper-compiler-flags-check.patch of Package klee-uclibc
From: Jiri Slaby <jslaby@suse.cz> Date: Sat, 11 Mar 2017 09:13:49 +0100 Subject: proper compiler flags check Patch-mainline: no Check the compiler flags with -Werror so that the output is not flooded with unsupported options. Signed-off-by: Jiri Slaby <jslaby@suse.cz> --- Rules.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/Rules.mak +++ b/Rules.mak @@ -127,7 +127,7 @@ endif # A nifty macro to make testing gcc features easier check_gcc=$(shell \ - if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \ + if $(CC) -Werror $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \ then echo "$(1)"; else echo "$(2)"; fi) check_as=$(shell \ if $(CC) -Wa,$(1) -Wa,-Z -c -o /dev/null -xassembler /dev/null > /dev/null 2>&1; \
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor