mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-03 16:37:43 +00:00
Merge branch 'fix-gxx-on-target' of git://git.busybox.net/~tpetazzoni/git/buildroot
This commit is contained in:
commit
f2860bbc8e
@ -399,6 +399,7 @@ $(GCC_BUILD_DIR3)/.configured: $(GCC_BUILD_DIR3)/.prepared
|
|||||||
BOOT_CFLAGS="$(TARGET_CFLAGS) $(TARGET_SOFT_FLOAT)" \
|
BOOT_CFLAGS="$(TARGET_CFLAGS) $(TARGET_SOFT_FLOAT)" \
|
||||||
GCC_FOR_TARGET="$(TARGET_CC)" \
|
GCC_FOR_TARGET="$(TARGET_CC)" \
|
||||||
CC_FOR_TARGET="$(TARGET_CC)" \
|
CC_FOR_TARGET="$(TARGET_CC)" \
|
||||||
|
CXX_FOR_TARGET="$(TARGET_CXX)" \
|
||||||
$(GCC_SRC_DIR)/configure $(QUIET) \
|
$(GCC_SRC_DIR)/configure $(QUIET) \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--build=$(GNU_HOST_NAME) \
|
--build=$(GNU_HOST_NAME) \
|
||||||
@ -445,8 +446,10 @@ $(TARGET_DIR)/usr/bin/gcc: $(GCC_BUILD_DIR3)/.compiled
|
|||||||
# Remove broken specs file (cross compile flag is set).
|
# Remove broken specs file (cross compile flag is set).
|
||||||
rm -f $(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR)/specs
|
rm -f $(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR)/specs
|
||||||
|
|
||||||
# Remove useless copies of gcc
|
# Remove useless copies of gcc, c++, g++
|
||||||
rm -f $(TARGET_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc*
|
rm -f $(TARGET_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc*
|
||||||
|
rm -f $(TARGET_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-g++*
|
||||||
|
rm -f $(TARGET_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-c++*
|
||||||
|
|
||||||
# Work around problem of missing syslimits.h
|
# Work around problem of missing syslimits.h
|
||||||
if [ ! -f $(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR)/$(GCC_INCLUDE_DIR)/syslimits.h ]; then \
|
if [ ! -f $(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR)/$(GCC_INCLUDE_DIR)/syslimits.h ]; then \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user