Skip to content

Commit

Permalink
Add cflags
Browse files Browse the repository at this point in the history
  • Loading branch information
wargio committed Nov 27, 2023
1 parent a6cbf3d commit e1b4a5e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .ci-scripts/ci-build-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ DEBUGME=1 pwd ; ls -lah

# add the extracted content to the pkg-config/path
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$CI_RIZIN/lib/pkgconfig"
export CFLAGS="$CFLAGS:$CI_RIZIN/include"
export PATH="$PATH:$CI_RIZIN/bin"
echo "PATH: $PATH"
echo "CFLAGS: $CFLAGS"
echo "PKG_CONFIG_PATH: $PKG_CONFIG_PATH"

# go back to the source folder of jsdec
Expand All @@ -51,4 +53,9 @@ if [ -z "$HAS_JSDEC" ]; then
exit 1
fi

rizin -Qc 'af ; pdd' /bin/ls
OUTPUT=$(rizin -Qc 'af ; pdd' /bin/ls)
CHECK=$(echo -e "$OUTPUT" | grep "jsdec pseudo code output")
echo -e "$OUTPUT"
if [ -z "$CHECK" ]; then
exit 1
fi

0 comments on commit e1b4a5e

Please sign in to comment.