Skip to content

Commit

Permalink
ports/nyancat: Pass compiler flags correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
mintsuki committed Aug 30, 2024
1 parent 715c44f commit 99ff6b0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion recipes/nyancat
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ deps="core-libs"
build() {
cp -rp "${source_dir}"/. ./

make CC=${OS_TRIPLET}-gcc -j${parallelism}
make \
CC=${OS_TRIPLET}-gcc \
CFLAGS="$TARGET_CFLAGS -std=c99" \
CPPFLAGS="$TARGET_CPPFLAGS" \
LDFLAGS="$TARGET_LDFLAGS" \
-j${parallelism}
}

package() {
Expand Down

0 comments on commit 99ff6b0

Please sign in to comment.