Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
Adjust flags so we not skip the Makefile's CFLAGS.
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Karbowski committed Aug 28, 2012
1 parent db32d0c commit 8aad1e2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bootstrap/lebuilds/mdadm.lebuild
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ license='GPLv2'

build_cmd="
cd /source/${name}-${version} && \
sed -i 's#MAP_DIR=/run/mdadm#MAP_DIR=/dev/.mdadm#g' Makefile && \
make CFLAGS='-Os -DUCLIBC -DHAVE_STDINT_H -pipe' CXFLAGS='$CFLAGS' CWFLAGS='-Wall' mdadm.static
make MAP_DIR='/dev/.mdadm' CXFLAGS='-Os -DUCLIBC -DHAVE_STDINT_H -pipe ${CFLAGS}' CWFLAGS='-Wall' mdadm.static
"

deploy="/source/${name}-${version}/mdadm.static"
Expand Down

0 comments on commit 8aad1e2

Please sign in to comment.