blob: 662fb72089f2500d08087dbac994488a6662e913 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- third_party/yasm/BUILD.gn.orig 2017-06-05 19:03:29 UTC
+++ third_party/yasm/BUILD.gn
@@ -32,7 +32,12 @@ import("//build/config/compiler/compiler.gni")
if (current_toolchain == host_toolchain) {
# Various files referenced by multiple targets.
yasm_gen_include_dir = "$target_gen_dir/include"
- config_makefile = "source/config/$host_os/Makefile"
+ # HACK for All BSD derivatives use openbsd include directory
+ if (is_bsd) {
+ config_makefile = "source/config/openbsd/Makefile"
+ } else {
+ config_makefile = "source/config/$host_os/Makefile"
+ }
version_file = "version.mac"
import("//build/compiled_action.gni")
|