forked from SynoCommunity/spksrc
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Misc CMAKE build fixes (SynoCommunity#5658)
* native-cmake.mk: Allow changing default build dir * tc.mk: Use abspath to remove all '//' use-cases from tc_vars.* * cross-cmake.mk: Set nasm only for x86 and set PKG_CONFIG_LIBDIR * cross-cmake.mk: Various fixes and enhancements 1. Use abspath instead of realpath as it does not check if location does exists. Usage of realpath sets variables to empty '' in some cases as the build may not have started yet. Usage of abspath solves that issue entirely 2. Allow NOT to build shared libraries by default. Building LLVM requires this to be unset or set to OFF so shared libraries are disabled by default 3. Enforce setting x86asm using CMAKE_USE_NASM only to i686 & x86_64
- Loading branch information
Showing
5 changed files
with
45 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters