RPM_OPT_FLAGS can not be used with configure macro, use CFLAGS instead
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=7
This commit is contained in:
parent
9481fd971a
commit
555f01a201
@ -208,7 +208,9 @@ virtual machines.
|
||||
%patch -p1
|
||||
|
||||
%build
|
||||
export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-unused"
|
||||
# for configure macro below
|
||||
CFLAGS="$RPM_OPT_FLAGS -Wno-unused"
|
||||
CXXFLAGS="$RPM_OPT_FLAGS -Wno-unused"
|
||||
autoreconf -fi
|
||||
%configure \
|
||||
--help || :
|
||||
|
Loading…
x
Reference in New Issue
Block a user