aboutsummaryrefslogtreecommitdiff
path: root/libfrontend-elements/build/cxx/configuration-dynamic.make
diff options
context:
space:
mode:
Diffstat (limited to 'libfrontend-elements/build/cxx/configuration-dynamic.make')
-rw-r--r--libfrontend-elements/build/cxx/configuration-dynamic.make14
1 files changed, 14 insertions, 0 deletions
diff --git a/libfrontend-elements/build/cxx/configuration-dynamic.make b/libfrontend-elements/build/cxx/configuration-dynamic.make
new file mode 100644
index 0000000..7485fe9
--- /dev/null
+++ b/libfrontend-elements/build/cxx/configuration-dynamic.make
@@ -0,0 +1,14 @@
+cxx_id := gnu
+cxx_optimize := n
+cxx_debug := n
+cxx_rpath := n
+cxx_pp_extra_options := $(CPPFLAGS) -I$(out_root)/../stage/include
+cxx_extra_options := $(CXXFLAGS)
+cxx_ld_extra_options := $(LDFLAGS)
+cxx_extra_libs := $(LIBS)
+
+r := $(shell echo $(LDFLAGS) | sed -e 's/-L *\([^ ]*\)/-L\1/g')
+r := $(patsubst -L%,%,$(filter -L%,$(r)))
+r := $(shell echo $(r) | sed -e 's/ /:/g')
+
+cxx_extra_lib_paths := $(out_root)/../stage/lib $(r)