Skip to content

Commit 1fddf43

Browse files
committed
blink1control-tool: dang cannot build libcurl multiarch
1 parent 189ad30 commit 1fddf43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

blink1control-tool/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ CC=gcc
6262
ifeq "$(OS)" "macosx"
6363

6464
CFLAGS += `curl-$(OS)/bin/curl-config --static-libs` `curl-$(OS)/bin/curl-config --cflags`
65-
CFLAGS += -arch x86_64 -arch arm64
65+
#CFLAGS += -arch x86_64 -arch arm64
6666

6767
EXE=
6868

@@ -128,7 +128,7 @@ curl-setup:
128128
@echo "setting up curl..."
129129
#wget http://curl.haxx.se/download/curl-7.37.1.tar.gz
130130
tar xvzf curl-7.37.1.tar.gz
131-
cd curl-7.37.1 && CFLAGS='-arch x86_64 -arch arm64' ./configure --prefix=`pwd`/../curl-$(OS) --disable-shared --disable-ldap --without-zlib --without-libssh2 --without-ssl --disable-crypto-auth && $(MAKE) && $(MAKE) install
131+
cd curl-7.37.1 && ./configure --prefix=`pwd`/../curl-$(OS) --disable-shared --disable-ldap --without-zlib --without-libssh2 --without-ssl --disable-crypto-auth && $(MAKE) && $(MAKE) install
132132

133133
json-parser-setup:
134134
@echo "setting up json-parser"

0 commit comments

Comments
 (0)