Skip to content

Commit 2c41501

Browse files
committed
Appveyor Fixes (macOS)
1 parent 2e74fb9 commit 2c41501

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.appveyor.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -236,18 +236,20 @@ for:
236236
- ./configure --prefix=${TKDND_RUNTIME} --exec-prefix=${TKDND_RUNTIME} ${CONFIGURE_ARGS} && make && make test
237237
- make install
238238
- cd ${TKDND_RUNTIME}/lib && tar -czvf ${FILE_TO_UPLOAD} tkdnd${TKDND_VERSION} && rm -rf tkdnd${TKDND_VERSION}
239+
- cd ${TKDND_HOME} && make clean && make distclean
240+
239241
## Cross-compile for ARM...
240242
- cd ${TKDND_HOME}
241-
- make clean
242243
# - CC="clang -march=arm" CFLAGS= CXX="clang++ -march=arm" CXXFLAGS= lhelper create lite-xl-arm -n
243244
- export CC="clang -arch arm64"
244245
- export CFLAGS=
245246
- export CXX="clang++ -arch arm64"
246247
- export CXXFLAGS=
247-
- export CONFIGURE_ARGS="--target=aarch64"
248+
- export CONFIGURE_ARGS="--host=aarch64 --target=aarch64"
248249
- ./configure --prefix=${TKDND_RUNTIME} --exec-prefix=${TKDND_RUNTIME} ${CONFIGURE_ARGS} && make && make test
249250
- make install
250251
- cd ${TKDND_RUNTIME}/lib && tar -czvf ${FILE_TO_UPLOAD_ARM} tkdnd${TKDND_VERSION} && rm -rf tkdnd${TKDND_VERSION}
252+
- cd ${TKDND_HOME} && make clean && make distclean
251253

252254
after_build:
253255
- cd ${TKDND_HOME}

0 commit comments

Comments
 (0)