aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorCameron Katri <me@cameronkatri.com>2022-01-18 23:52:24 -0500
committerCameron Katri <me@cameronkatri.com>2022-01-18 23:52:24 -0500
commit9cf3a0c4ab2e6b82ee3899affec0ce30d9550047 (patch)
tree227136c52a305dc2e8eb62e323c55dfa6a5add57 /.github
parent73deb88ab0152cc45ee1cb101293d2e7065be747 (diff)
downloadldid-9cf3a0c4ab2e6b82ee3899affec0ce30d9550047.tar.gz
ldid-9cf3a0c4ab2e6b82ee3899affec0ce30d9550047.tar.zst
ldid-9cf3a0c4ab2e6b82ee3899affec0ce30d9550047.zip
ci: Set CXXFLAGS
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index fd82d07..c1c61a2 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -80,6 +80,7 @@ jobs:
echo "NM=${TRIPLE}-gcc-nm" >> $GITHUB_ENV
echo "RANLIB=${TRIPLE}-gcc-ranlib" >> $GITHUB_ENV
echo "CFLAGS=-Os -fPIC -fno-pie -no-pie -static -flto -ffunction-sections -fdata-sections" >> $GITHUB_ENV
+ echo "CXXFLAGS=${CFLAGS}" >> $GITHUB_ENV
echo "LDFLAGS=-Wl,--gc-sections -Wl,-strip-all -flto" >> $GITHUB_ENV
- name: build libplist
@@ -221,6 +222,7 @@ jobs:
export LDID_VERSION=$(echo "$(git describe --tags --abbrev=0)")
make -j$(sysctl -n hw.ncpu) \
CFLAGS="${CFLAGS} -flto=thin" \
+ CXXFLAGS="${CFLAGS} -flto=thin" \
VERSION="${LDID_VERSION}" \
LIBS="${LIBPLIST_LIB} ${LIBCRYPTO_LIB}"
strip ldid