Commit 667e1cf 1 parent bac7fd3 commit 667e1cf Copy full SHA for 667e1cf
File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ CONFIGURE_TARGET = myConfigure
15
15
16
16
include ../../mk/spksrc.cross-cc.mk
17
17
18
+ YASM_PATH = $(WORK_DIR ) /../../../native/yasm/work-native/install/usr/local/bin
18
19
19
20
CMAKE_ARGS = -DCMAKE_INSTALL_PREFIX=$(STAGING_INSTALL_PREFIX )
20
21
CMAKE_ARGS += -DEXTRA_LINK_FLAGS="-ldl"
@@ -39,15 +40,13 @@ endif
39
40
40
41
ifeq ($(findstring $(ARCH ) , $(x64_ARCHES ) ) ,$(ARCH ) )
41
42
DEPENDS += native/yasm cross/libnuma
42
- ENV += AS=$(WORK_DIR ) /../../../native/yasm/work-native/install/usr/local/bin/yasm
43
- ENV += PATH=$(WORK_DIR ) /../../../native/yasm/work-native/install/usr/local/bin/:$$PATH
43
+ ENV += PATH=$(YASM_PATH ) :$$PATH
44
44
CMAKE_ARGS += -DCMAKE_SYSTEM_PROCESSOR=x86_64
45
45
endif
46
46
47
47
ifeq ($(findstring $(ARCH ) , $(x86_ARCHES ) ) ,$(ARCH ) )
48
48
DEPENDS += native/yasm cross/libnuma
49
- ENV += AS=$(WORK_DIR ) /../../../native/yasm/work-native/install/usr/local/bin/yasm
50
- ENV += PATH=$(WORK_DIR ) /../../../native/yasm/work-native/install/usr/local/bin/:$$PATH
49
+ ENV += PATH=$(YASM_PATH ) :$$PATH
51
50
CMAKE_ARGS += -DCMAKE_SYSTEM_PROCESSOR=x86
52
51
endif
53
52
You can’t perform that action at this time.
0 commit comments