51 |
# |
# |
52 |
# to fix that we set the needed tag to libtool: |
# to fix that we set the needed tag to libtool: |
53 |
# --tag=CXX |
# --tag=CXX |
54 |
sed -i '/^LIBTOOL/s:=.*:= @LIBTOOL@ --tag=CXX:g' \ |
sed -i '/^LIBTOOL/s:=.*:= @LIBTOOL@ --tag=CC:g' \ |
55 |
include/builddefs.in || die |
include/builddefs.in || die |
56 |
|
|
57 |
# libtool will clobber install-sh which is really a custom file |
# libtool will clobber install-sh which is really a custom file |
64 |
{ |
{ |
65 |
cd ${SRCDIR} |
cd ${SRCDIR} |
66 |
|
|
67 |
|
# enable CFLAGS |
68 |
export OPTIMIZER="${CFLAGS}" |
export OPTIMIZER="${CFLAGS}" |
69 |
|
|
70 |
|
# disable debug code |
71 |
export DEBUG="-DNDEBUG" |
export DEBUG="-DNDEBUG" |
72 |
|
|
73 |
mconfigure \ |
mconfigure \ |