commit 431812f49b3b5132d83ceb7ccf7b9eb8c000464d
Author: Leigh Scott <leigh123linux(a)googlemail.com>
Date: Sun Nov 25 14:00:56 2018 +0000
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 \
Show replies by date