diff options
author | agaffney <agaffney@kagome.(none)> | 2008-11-12 18:34:56 -0600 |
---|---|---|
committer | agaffney <agaffney@kagome.(none)> | 2008-11-12 18:34:56 -0600 |
commit | 05ab15750d99573d01b06f2497884864d0f0254e (patch) | |
tree | 91b6e1fcfc4739c2895278d6664a4e2c986c3aea /gen_compile.sh | |
parent | Unpack fuse source and modify CFLAGS for unionfs-fuse (diff) | |
download | genkernel-05ab15750d99573d01b06f2497884864d0f0254e.tar.gz genkernel-05ab15750d99573d01b06f2497884864d0f0254e.tar.bz2 genkernel-05ab15750d99573d01b06f2497884864d0f0254e.zip |
sed Makefile instead of setting in env
Diffstat (limited to 'gen_compile.sh')
-rw-r--r-- | gen_compile.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gen_compile.sh b/gen_compile.sh index be6220db..2245f759 100644 --- a/gen_compile.sh +++ b/gen_compile.sh @@ -567,7 +567,8 @@ compile_unionfs_fuse() { tar -zxpf "${FUSE_SRCTAR}" cd .. print_info 1 'unionfs-fuse: >> Compiling...' - CFLAGS="-Ifuse_tmp/${FUSE_DIR}/include" MAKE=${UTILS_MAKE} compile_generic "" "" + sed -i "/^CFLAGS/s:^\\(.*\\)$:\\1 -Ifuse_tmp/${FUSE_DIR}/include:" Makefile + MAKE=${UTILS_MAKE} compile_generic "" "" print_info 1 'unionfs-fuse: >> Copying to cache...' [ -f "${TEMP}/${UNIONFS_FUSE_DIR}/src/unionfs" ] || gen_die 'unionfs binary does not exist!' |