summaryrefslogtreecommitdiff
path: root/purgatory
diff options
context:
space:
mode:
authorMaxim Uvarov <muvarov@gmail.com>2010-09-01 16:19:32 +0400
committerSimon Horman <horms@verge.net.au>2010-09-01 21:43:03 +0900
commit92a732d0032d83a6d00a041d51ee3ca638f96029 (patch)
tree9c54e2295c70b5f9ed9f7622bf55d91b3f164fd3 /purgatory
parent242acd25db83d99a8f6ea48d14c215dd64f3635f (diff)
downloadkexec-tools-92a732d0032d83a6d00a041d51ee3ca638f96029.tar.gz
Add CFLAGS to compile mips purgatory
Required in case if "-mabi=64" option was specified to build 64 bit mips application, if not compiler tries to link 64 bit binaries with 32 bit system libraries. Signed-off-by: Maxim Uvarov <muvarov@gmail.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'purgatory')
-rw-r--r--purgatory/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/purgatory/Makefile b/purgatory/Makefile
index aa3a788..ea0c19a 100644
--- a/purgatory/Makefile
+++ b/purgatory/Makefile
@@ -61,7 +61,7 @@ $(PURGATORY): LDFLAGS=$($(ARCH)_PURGATORY_EXTRA_CFLAGS)\
$(PURGATORY): $(PURGATORY_OBJS)
$(MKDIR) -p $(@D)
- $(CC) $(LDFLAGS) -o $@ $^
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
# $(LD) $(LDFLAGS) $(EXTRA_LDFLAGS) --no-undefined -e purgatory_start -r -o $@ $(PURGATORY_OBJS) $(UTIL_LIB)