From 431812f49b3b5132d83ceb7ccf7b9eb8c000464d Mon Sep 17 00:00:00 2001 From: Leigh Scott Date: Sun, 25 Nov 2018 14:00:56 +0000 Subject: [PATCH] Use modern optflags macro --- gpac.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpac.spec b/gpac.spec index b0b5240..9e7b54f 100644 --- a/gpac.spec +++ b/gpac.spec @@ -114,7 +114,7 @@ rm -rf doc/ipmpx_syntax.bt.origine %build %configure \ --enable-debug \ - --extra-cflags="$RPM_OPT_FLAGS -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 $(pkg-config --cflags libavformat)" \ + --extra-cflags="%{optflags} -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 $(pkg-config --cflags libavformat)" \ --X11-path=%{_prefix} \ --libdir=%{_lib} \ --disable-oss-audio \