diff options
author | Adrian Szyndela <adrian.s@samsung.com> | 2018-11-29 10:23:44 +0100 |
---|---|---|
committer | Adrian Szyndela <adrian.s@samsung.com> | 2018-11-29 10:26:08 +0100 |
commit | cc034ad455b765d20cfe74a40f139865c17e6157 (patch) | |
tree | 0cd98bb8bc71891e354542b677e43b3ef571d7a9 | |
parent | 83d1082e192ddaad5602e9c9e3e7398f6d6d1938 (diff) | |
download | dbus-cc034ad455b765d20cfe74a40f139865c17e6157.tar.gz dbus-cc034ad455b765d20cfe74a40f139865c17e6157.tar.bz2 dbus-cc034ad455b765d20cfe74a40f139865c17e6157.zip |
spec: fixed compilation options to reduce warnings
If -mimplicit-it option is set to thumb while compiling to ARM,
then it shows lots of:
Warning: conditional outside an IT block for Thumb.
This commit removes -mimplicit-it from the compilation options on ARM32 arch.
Change-Id: I6eea9ef65e61b8ec7afa16035d4a14d6d7f870e4
-rw-r--r-- | packaging/dbus.spec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/dbus.spec b/packaging/dbus.spec index a521dc54..b5603b78 100644 --- a/packaging/dbus.spec +++ b/packaging/dbus.spec @@ -115,7 +115,7 @@ cp %{SOURCE1001} . # the build upstream, see discussion in fdo#46570 export CFLAGS="${RPM_OPT_FLAGS} -fno-strict-aliasing -fPIC -fpie" %ifarch %{arm} -export CFLAGS="$CFLAGS -marm" +export CFLAGS=${CFLAGS/-Wa,-mimplicit-it=thumb/}" -marm" %endif export LDFLAGS="-pie" export CXXFLAGS="${RPM_OPT_FLAGS} -fno-strict-aliasing" |