Skip to content

Commit

Permalink
Merge pull request #186 from radarhere/build
Browse files Browse the repository at this point in the history
Use --config-settings
  • Loading branch information
mergify[bot] committed Jun 24, 2023
2 parents 38064a1 + 9a90e6c commit a72f935
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions manylinux2014-wheel-build/build.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#!/bin/sh -eu

# options required to trigger the vendored Raqm install
OPTS="--global-option build_ext --global-option --vendor-raqm --global-option --vendor-fribidi"
OPTS="-C raqm=vendor -C fribidi=vendor"

CFLAGS=${CFLAGS:-}
export CFLAGS="$CFLAGS --std=c99"

# Check for debug build
DEBUG=${DEBUG:-0}
if [ $DEBUG ]; then
OPTS="--global-option build --global-option --debug $OPTS"
OPTS="-C debug=true $OPTS"
CFLAGS="$CFLAGS -Og -DDEBUG"
fi

Expand Down
4 changes: 2 additions & 2 deletions manylinux_2_28-wheel-build/build.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#!/bin/sh -eu

# options required to trigger the vendored Raqm install
OPTS="--global-option build_ext --global-option --vendor-raqm --global-option --vendor-fribidi"
OPTS="-C raqm=vendor -C fribidi=vendor"

CFLAGS=${CFLAGS:-}
export CFLAGS="$CFLAGS --std=c99"

# Check for debug build
DEBUG=${DEBUG:-0}
if [ $DEBUG ]; then
OPTS="--global-option build --global-option --debug $OPTS"
OPTS="-C debug=true $OPTS"
CFLAGS="$CFLAGS -Og -DDEBUG"
fi

Expand Down

0 comments on commit a72f935

Please sign in to comment.