fix(mysql)

This commit is contained in:
Jacob Heider 2023-04-17 23:41:50 -04:00 committed by Jacob Heider
parent fd678fa5b5
commit a96b008bc4

View file

@ -25,6 +25,11 @@ build:
freedesktop.org/pkg-config: ^0.29 freedesktop.org/pkg-config: ^0.29
working-directory: build working-directory: build
script: | script: |
# https://www.mail-archive.com/ports@freebsd.org/msg00418.html
# And they *force* it on
sed -i.bak -e 's/\(STRING_APPEND.*moutline-atomics.*\)/# \1/' ../CMakeLists.txt
rm ../CMakeLists.txt.bak
cmake .. $ARGS cmake .. $ARGS
make --jobs {{ hw.concurrency }} install make --jobs {{ hw.concurrency }} install
@ -67,6 +72,7 @@ build:
linux/aarch64: linux/aarch64:
ARGS: ARGS:
- -DCMAKE_CXX_FLAGS="-mno-outline-atomics" - -DCMAKE_CXX_FLAGS="-mno-outline-atomics"
- -DCMAKE_C_FLAGS="-mno-outline-atomics"
#^^ https://www.mail-archive.com/ports@freebsd.org/msg00418.html #^^ https://www.mail-archive.com/ports@freebsd.org/msg00418.html
provides: provides: