File owffmpeg-internal.diff of Package wengophone

------------------------------------------------------------------------
r12196 | gladiac | 2007-08-03 16:27:30 +0200 (Fri, 03 Aug 2007) | 2 lines

* (bugfix) fix compilation on x86_64 and add options

Index: libs/3rdparty/ffmpeg/CMakeLists-internal-unix.txt
===================================================================
--- libs/3rdparty/ffmpeg/CMakeLists-internal-unix.txt.orig
+++ libs/3rdparty/ffmpeg/CMakeLists-internal-unix.txt
@@ -10,12 +10,14 @@ ow_add_public_include_dirs(
 )
 
 set(configure "./configure")
+set(configureOptions "--extra-cflags=")
 
 if (CMAKE_SIZEOF_VOID_P MATCHES "8")
 	ow_check_cxx_compiler_flag("-fPIC" WITH_FPIC)
 	if (WITH_FPIC)
-		set(configure "./configure -fPIC")
+		set(configure "./configure")
+		set(configureOptions "--extra-cflags=-fPIC")
 	endif (WITH_FPIC)
 endif (CMAKE_SIZEOF_VOID_P MATCHES "8")
 
-ow_autoconf(${configure} "make")
+ow_autoconf(${configure} ${configureOptions} "make")
openSUSE Build Service is sponsored by