projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f6f214
)
package/pkg-cmake.mk: set the {C, CXX, LD}FLAGS for host packages
author
Samuel Martin
<s.martin49@gmail.com>
Thu, 21 Aug 2014 20:45:17 +0000
(22:45 +0200)
committer
Peter Korsgaard
<peter@korsgaard.com>
Sun, 28 Sep 2014 18:51:31 +0000
(20:51 +0200)
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/pkg-cmake.mk
patch
|
blob
|
history
diff --git
a/package/pkg-cmake.mk
b/package/pkg-cmake.mk
index f5aefae12f9e35e3937efc7ffa171eca6f736e04..3655751775e643ff68b540853b222bf0b195c6a5 100644
(file)
--- a/
package/pkg-cmake.mk
+++ b/
package/pkg-cmake.mk
@@
-86,6
+86,9
@@
define $(2)_CONFIGURE_CMDS
-DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY="BOTH" \
-DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE="BOTH" \
-DCMAKE_INSTALL_PREFIX="$$(HOST_DIR)/usr" \
+ -DCMAKE_C_FLAGS="$$(HOST_CFLAGS)" \
+ -DCMAKE_CXX_FLAGS="$$(HOST_CXXFLAGS)" \
+ -DCMAKE_EXE_LINKER_FLAGS="$$(HOST_LDFLAGS)" \
-DBUILD_TESTING=OFF \
$$($$(PKG)_CONF_OPT) \
)