Permalink
Browse files

Adjust flags so we not skip the Makefile's CFLAGS.

  • Loading branch information...
1 parent db32d0c commit 8aad1e24e0c2685c6cfb012db9c9a5a24d667f32 Piotr Karbowski committed Aug 28, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 bootstrap/lebuilds/mdadm.lebuild
@@ -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"

0 comments on commit 8aad1e2

Please sign in to comment.