mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-17 10:11:16 +01:00
Fix a couple of compiler-related bugs
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5822 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
cd490461a9
commit
850173ff54
@ -221,7 +221,7 @@ get_config() {
|
|||||||
#
|
#
|
||||||
compiler() {
|
compiler() {
|
||||||
fatal_error() {
|
fatal_error() {
|
||||||
echo " ERROR: $@" > &2
|
echo " ERROR: $@" >&2
|
||||||
exit 2
|
exit 2
|
||||||
}
|
}
|
||||||
#
|
#
|
||||||
@ -280,6 +280,7 @@ compiler() {
|
|||||||
debugflags="-w"
|
debugflags="-w"
|
||||||
[ -n "$DEBUG" ] && debugflags='-wd'
|
[ -n "$DEBUG" ] && debugflags='-wd'
|
||||||
[ -n "$PROFILE" ] && DEBUGFLAGS='-wd:DProf'
|
[ -n "$PROFILE" ] && DEBUGFLAGS='-wd:DProf'
|
||||||
|
shift # Perl compiler doesn't need a command
|
||||||
perl $debugflags /usr/share/shorewall-perl/compiler.pl $@
|
perl $debugflags /usr/share/shorewall-perl/compiler.pl $@
|
||||||
;;
|
;;
|
||||||
shell)
|
shell)
|
||||||
|
Loading…
Reference in New Issue
Block a user