[git commit] libpthread: Fix handling of SUBARCH includes
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Tue Feb 5 17:55:08 UTC 2013
commit: http://git.uclibc.org/uClibc/commit/?id=aeac3e1220a8afc856bd25e4d87441a26588aac0
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
TARGET_SUBARCH can only ever be set if TARGET_ARCH is set.
Only include SUBARCH includes if SUBARCH is non-empty.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
Rules.mak | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Rules.mak b/Rules.mak
index 68c9d82..7270bf1 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -740,7 +740,7 @@ PTDIR := libpthread/$(PTNAME)
ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y)
PTINC:= -I$(top_builddir)$(PTDIR) \
-I$(top_srcdir)$(PTDIR) \
- $(if $(TARGET_ARCH),-I$(top_srcdir)$(PTDIR)/sysdeps/unix/sysv/linux/$(TARGET_ARCH)/$(TARGET_SUBARCH)) \
+ $(if $(TARGET_SUBARCH),-I$(top_srcdir)$(PTDIR)/sysdeps/unix/sysv/linux/$(TARGET_ARCH)/$(TARGET_SUBARCH)) \
-I$(top_srcdir)$(PTDIR)/sysdeps/unix/sysv/linux/$(TARGET_ARCH) \
-I$(top_builddir)$(PTDIR)/sysdeps/$(TARGET_ARCH) \
-I$(top_srcdir)$(PTDIR)/sysdeps/$(TARGET_ARCH) \
More information about the uClibc-cvs
mailing list