diff options
author | SooChan Lim <sc1.lim@samsung.com> | 2019-12-27 12:45:55 +0900 |
---|---|---|
committer | SooChan Lim <sc1.lim@samsung.com> | 2019-12-27 12:48:33 +0900 |
commit | c2dd8038039a24a2b8aef74322847e96df0aa327 (patch) | |
tree | 60e939965134a699807ef018aeb1ecadf9574df2 | |
parent | 9e28f0eaf657a6ec2c4185c9ed96378240226a49 (diff) | |
download | libpciaccess-c2dd8038039a24a2b8aef74322847e96df0aa327.tar.gz libpciaccess-c2dd8038039a24a2b8aef74322847e96df0aa327.tar.bz2 libpciaccess-c2dd8038039a24a2b8aef74322847e96df0aa327.zip |
change the CFLAGS
This commit is for avoiding the build-break due to the gcc 6.0
at Tizen 6.0 by -Wall option.
DO NOT inherite the CFLAGS from the global one of the OBS.
libpciaccess just remain because of the build dependency.
Any binary does not use this package.
Change-Id: I7e4af60af6c1c442c9069ac3dc42442df1cc5250
-rw-r--r-- | packaging/libpciaccess.spec | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging/libpciaccess.spec b/packaging/libpciaccess.spec index 4578ca4..d227139 100644 --- a/packaging/libpciaccess.spec +++ b/packaging/libpciaccess.spec @@ -42,6 +42,7 @@ cp %{SOURCE1001} . NOCONFIGURE=1 %autogen export CFLAGS="$CFLAGS -w" +export CFLAGS="-O2 -g2 -pipe -w -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -fmessage-length=0 -Wl,--as-needed" %configure --disable-static \ --with-pciids-path=%{_datadir}/misc --with-zlib make %{?_smp_mflags} |