summaryrefslogtreecommitdiffstats
path: root/patches/SDL-1.2.15/0002-fix-parallel-build.patch
blob: a5199e8441c79b71becbed25ca0fcb20bde601fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: Sat, 29 Oct 2011 18:49:04 +0200
Subject: [PATCH] fix parallel build

We have to create the objects dir before saving gcc's output into it.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
 Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.in b/Makefile.in
index ab51035e0b01..6e2467275138 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -71,7 +71,7 @@ depend:
 
 include $(depend)
 
-$(objects)/$(TARGET): $(OBJECTS)
+$(objects)/$(TARGET): $(OBJECTS) $(objects)
 	$(LIBTOOL) --mode=link $(CC) -o $@ $^ $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS)
 
 $(objects)/$(SDLMAIN_TARGET): $(SDLMAIN_OBJECTS)