projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ajout option 'display trailing whitespace' à la configuration emacs
[hvlinux.git]
/
stage2
/
pkg
/
zlib
diff --git
a/stage2/pkg/zlib
b/stage2/pkg/zlib
index
0106d36
..
1b4a57b
100644
(file)
--- a/
stage2/pkg/zlib
+++ b/
stage2/pkg/zlib
@@
-1,17
+1,21
@@
#!/bin/bash
#!/bin/bash
-CC="gcc -isystem /usr/include"
-CXX="g++ -isystem /usr/include"
-LDFLAGS="-Wl,-rpath-link,/lib"
+hvconfig_pre()
+{
+ export CC="gcc -isystem /usr/include"
+ export CXX="g++ -isystem /usr/include"
+ export LDFLAGS="-Wl,-rpath-link,/lib"
-CONFIGURE_OPTS="\
- --shared \
- ${CONFIGURE_OPTS}"
+ CONFIGURE_OPTS="\
+ ${CONFIGURE_OPTS} \
+ --shared"
+}
-hvconfig()
+hvconfig
_post
()
{
{
- cd ${LFS_TMP}/${PACKAGE}
- ./configure ${CONFIGURE_OPTS}
+ unset CC
+ unset CXX
+ unset LDFLAGS
}
hvbuild_post()
}
hvbuild_post()