File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 23
23
# fit the experimental data (i.e., I was able to get the system
24
24
# working under these assumptions).
25
25
26
+ # Hack for passing flags into LIBUV, see below.
27
+ LIBUV_FLAGS_i386 = -m32
28
+ LIBUV_FLAGS_x86_64 = -m64
29
+
26
30
define DEF_RUNTIME_TARGETS
27
31
28
32
# #####################################################################
@@ -155,7 +159,8 @@ $$(LIBUV_LIB_$(1)): $$(wildcard \
155
159
$$(S ) src/rt/libuv/* /* /* \
156
160
$$(S ) src/rt/libuv/* /* /* /* )
157
161
$$(Q )$$(MAKE ) -C $$(S ) mk/libuv/$$(LIBUV_ARCH_$(1 ) ) /$$(LIBUV_OSTYPE_$(1 ) ) \
158
- CFLAGS="$$(TAR_CFLAGS ) " LDFLAGS="-m32" \
162
+ CFLAGS="$$(LIBUV_FLAGS_$$(HOST_$(1 ) ) ) " \
163
+ LDFLAGS="$$(LIBUV_FLAGS_$$(HOST_$(1 ) ) ) " \
159
164
CC="$$(CFG_GCCISH_CROSS )$$(CC ) " \
160
165
CXX="$$(CFG_GCCISH_CROSS )$$(CXX ) " \
161
166
AR="$$(CFG_GCCISH_CROSS )$$(AR ) " \
You can’t perform that action at this time.
0 commit comments