You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.3 KiB
27 lines
1.3 KiB
diff -PNur libffado-2.1.0.orig/SConstruct libffado-2.1.0/SConstruct
|
|
--- libffado-2.1.0.orig/SConstruct 2011-04-21 21:32:11.000000000 +1000
|
|
+++ libffado-2.1.0/SConstruct 2011-04-25 23:42:12.000000000 +1000
|
|
@@ -75,7 +75,7 @@
|
|
BoolVariable( "ENABLE_OPTIMIZATIONS", "Enable optimizations and the use of processor specific extentions (MMX/SSE/...).", False ),
|
|
BoolVariable( "PEDANTIC", "Enable -Werror and more pedantic options during compile.", False ),
|
|
( "COMPILE_FLAGS", "Add additional flags to the environment.\nOnly meant for distributors and gentoo-users who want to over-optimize their built.\n Using this is not supported by the ffado-devs!" ),
|
|
-
|
|
+ ( "LINKFLAGS", "Add additional flags to the linker command line.","")
|
|
)
|
|
|
|
## Load the builders in config
|
|
diff -PNur libffado-2.1.0.orig/src/SConscript libffado-2.1.0/src/SConscript
|
|
--- libffado-2.1.0.orig/src/SConscript 2010-09-11 07:50:58.000000000 +1000
|
|
+++ libffado-2.1.0/src/SConscript 2011-04-26 13:01:32.000000000 +1000
|
|
@@ -280,6 +280,10 @@
|
|
if env['REQUIRE_LIBAVC']:
|
|
libenv.MergeFlags( env['LIBAVC1394_FLAGS'] )
|
|
|
|
+# Add additional linker flags
|
|
+if env['LINKFLAGS']:
|
|
+ libenv.MergeFlags( env['LINKFLAGS'] )
|
|
+
|
|
libname_versioned = "libffado.so.%s" % libenv['VERSION']
|
|
libname_versioned_short = "libffado.so.%s" % libenv['VERSION'].split('.')[0]
|
|
|