diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2013-02-05 18:52:47 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2013-02-05 18:55:08 +0100 |
commit | aeac3e1220a8afc856bd25e4d87441a26588aac0 (patch) | |
tree | b543e9cbff34e6fc40700a036d2d0680fed298ad /Rules.mak | |
parent | 389cd96704f21549cafc0b5bdcd0ef762b98bc08 (diff) |
libpthread: Fix handling of SUBARCH includes
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@gmail.com>
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) \ |