mirror of https://github.com/adtools/clib2.git
Disable the LOG_COMMAND.
Piping will have the consequence that the exit status of the first command will not be considered. As this is the compiling command in our case, make will not exit with an error code even if the compiling failed. While there are shell-specific solutions, disabling LOG_COMMAND seems to be the most general solution.
This commit is contained in:
parent
60eebbe732
commit
bc621bed9c
|
@ -29,7 +29,11 @@ RANLIB := ppc-amigaos-ranlib
|
|||
COPY := cp -p
|
||||
DELETE := rm -rf
|
||||
MAKEDIR := mkdir -p
|
||||
LOG_COMMAND := 2>&1 | tee -a compiler.log
|
||||
# Enabling the LOG_COMMAND has the consequence that a rule will not
|
||||
# fail on an error because only the exit status from the tee command
|
||||
# will be considered
|
||||
#LOG_COMMAND := 2>&1 | tee -a compiler.log
|
||||
LOG_COMMAND :=
|
||||
# You may need to request a specific compiler version in order to
|
||||
# build the baserel versions of the library. At this time of
|
||||
# writing (2008-11-06) GCC 4.0.4 and below support the -mbaserel
|
||||
|
|
Loading…
Reference in New Issue