aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorAlexander Neumann <30894796+Neumann-A@users.noreply.github.com>2020-11-10 18:52:02 +0100
committerGitHub <noreply@github.com>2020-11-10 09:52:02 -0800
commit8de4ee858faf41fc6930c02203d873175940ea98 (patch)
tree64d9e70e029042258ac46d90b9a717e597948306 /ports
parent202ada4fcf552cd845fa4fd84778281c01b30199 (diff)
downloadvcpkg-8de4ee858faf41fc6930c02203d873175940ea98.tar.gz
vcpkg-8de4ee858faf41fc6930c02203d873175940ea98.zip
[vcpkg/scripts] Add a way to get cmake compiler settings/flags (#12936)
* add function get_cmake_vars * fine tuning. * apply to make based ports. * add log suffix on not windows platforms * fix c&p error * add previous LINK env * setup env on windows and extract cpp flags correctly. * Apply suggestions from code review * commit changes from fontconfig PR * Apply suggestions from code review Co-authored-by: nicole mazzuca <mazzucan@outlook.com> * cleanup docs * add conversion from somelib.lib to -lsomelib * add missing ar-lib wrapper * small but important regex correction * add latest changes from update_fontconfig PR * Apply suggestions from code review first set which don't need special attention Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com> * Apply suggestions from code review one more simple change Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com> * [x264] set env AS * fix bugs due to refactor * use subpath everywhere * apply changes from CR * remove unnecessary lines 41 & 44 * remove flag transformation * reintroduce the flag / to - transformation for MSVC * Apply suggestions from code review Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com> * rename the function * rename function/variables * transform flags list * Apply suggestions from code review * fix vcpkg_build_make due to the variable name change * fix another case of function renaming regressions * only rename config.log if it exists * actually add the script after vcpkg_common_functions was deleted. * remove setting of ldflags if path contains spaces Co-authored-by: nicole mazzuca <mazzucan@outlook.com> Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
Diffstat (limited to 'ports')
-rw-r--r--ports/x264/CONTROL2
-rw-r--r--ports/x264/portfile.cmake1
2 files changed, 2 insertions, 1 deletions
diff --git a/ports/x264/CONTROL b/ports/x264/CONTROL
index ce64f5f7c..15e35036a 100644
--- a/ports/x264/CONTROL
+++ b/ports/x264/CONTROL
@@ -1,6 +1,6 @@
Source: x264
Version: 157-303c484ec828ed0
-Port-Version: 12
+Port-Version: 13
Homepage: https://github.com/mirror/x264
Description: x264 is a free software library and application for encoding video streams into the H.264/MPEG-4 AVC compression format
Build-Depends: pthread (linux&osx)
diff --git a/ports/x264/portfile.cmake b/ports/x264/portfile.cmake
index d2084978c..5c716f0d1 100644
--- a/ports/x264/portfile.cmake
+++ b/ports/x264/portfile.cmake
@@ -21,6 +21,7 @@ if(VCPKG_TARGET_IS_WINDOWS)
_vcpkg_determine_autotools_target_cpu(HOST_ARCH)
list(APPEND OPTIONS --build=${BUILD_ARCH}-pc-mingw32)
list(APPEND OPTIONS --host=${HOST_ARCH}-pc-mingw32)
+ set(ENV{AS} "${NASM}")
endif()
if(VCPKG_TARGET_IS_UWP)