- run cpp with "-x assembler-with-cpp" in order to get rid of

warnings when parsing valid comments (bsc#1120004)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xrdb?expand=0&rev=9
This commit is contained in:
Stefan Dirsch 2019-01-23 16:31:21 +00:00 committed by Git OBS Bridge
parent bb3970263a
commit 612afbe920
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 10 13:21:14 UTC 2019 - sndirsch@suse.com
- run cpp with "-x assembler-with-cpp" in order to get rid of
warnings when parsing valid comments (bsc#1120004)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Apr 4 16:31:31 UTC 2018 - sndirsch@suse.com Wed Apr 4 16:31:31 UTC 2018 - sndirsch@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package xrdb # spec file for package xrdb
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -43,7 +43,9 @@ root window of any or all screens, or everything combined.
%setup -q %setup -q
%build %build
%configure --with-cpp=%{_bindir}/cpp # Run cpp with "-x assembler-with-cpp" in order to get rid of
# warnings when parsing valid comments (bsc#1120004)
%configure --with-cpp="%{_bindir}/cpp -x assembler-with-cpp, /lib/cpp"
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install