diff options
author | John Wiegley <johnw@newartisans.com> | 2008-08-03 22:30:43 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-08-03 22:30:43 -0400 |
commit | 8a21391d0a6d6187855b40530f25b1d8beb0d67a (patch) | |
tree | 93243e2aeb44daff01bbea26cf5d5988ad2a8e34 /acprep | |
parent | bbdab793029f156425180282e0e7a2a7090c1c4a (diff) | |
download | fork-ledger-8a21391d0a6d6187855b40530f25b1d8beb0d67a.tar.gz fork-ledger-8a21391d0a6d6187855b40530f25b1d8beb0d67a.tar.bz2 fork-ledger-8a21391d0a6d6187855b40530f25b1d8beb0d67a.zip |
Got pre-compiled headers working again, which are used if --devel is passed to
acprep.
Diffstat (limited to 'acprep')
-rwxr-xr-x | acprep | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -86,8 +86,7 @@ CXXFLAGS="$CXXFLAGS -Wwrite-strings" while [ -n "$1" ]; do case "$1" in --devel) - #SWITCHES="$SWITCHES --disable-shared --enable-pch" - SWITCHES="$SWITCHES --disable-shared" + SWITCHES="$SWITCHES --disable-shared --enable-pch" CPPFLAGS="$CPPFLAGS -DBOOST_MULTI_INDEX_ENABLE_INVARIANT_CHECKING=1" CPPFLAGS="$CPPFLAGS -DBOOST_MULTI_INDEX_ENABLE_SAFE_MODE=1" shift 1 ;; @@ -161,7 +160,7 @@ fi # errors and warnings much easier. if [ -f Makefile ]; then - perl -i -pe 's/^\t(\$\((LIBTOOL|CXX)\).*)/\t\@echo " " CXX \$\@;$1 > \/dev\/null/;' Makefile + perl -i -pe 's/^\t(\$\((LIBTOOL|CXX)\).*?\.cc)$/\t\@echo " " CXX \$\@;$1 > \/dev\/null/;' Makefile perl -i -pe 's/^\tmv -f/\t\@mv -f/;' Makefile perl -i -pe 's/^\t(\$\((.*?)LINK\).*)/\t\@echo " " LD \$\@;$1 > \/dev\/null/;' Makefile fi |