mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-31 15:07:43 +00:00
fix gcc 3.x/4.x symlinks to cc
This commit is contained in:
parent
977b0cc25b
commit
43cff997d7
@ -293,8 +293,8 @@ endif
|
|||||||
ln -snf $(REAL_GNU_TARGET_NAME)-gcc \
|
ln -snf $(REAL_GNU_TARGET_NAME)-gcc \
|
||||||
$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc; \
|
$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc; \
|
||||||
fi
|
fi
|
||||||
if [ ! -e $(STAGING_DIR)/usr/bin/gcc ]; then \
|
if [ ! -e $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/cc ]; then \
|
||||||
ln -snf gcc $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc; \
|
ln -snf gcc $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/cc; \
|
||||||
fi
|
fi
|
||||||
# Set up the symlinks to enable lying about target name.
|
# Set up the symlinks to enable lying about target name.
|
||||||
set -e; \
|
set -e; \
|
||||||
|
@ -306,8 +306,8 @@ endif
|
|||||||
ln -snf $(REAL_GNU_TARGET_NAME)-gcc \
|
ln -snf $(REAL_GNU_TARGET_NAME)-gcc \
|
||||||
$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc; \
|
$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc; \
|
||||||
fi
|
fi
|
||||||
if [ ! -e $(STAGING_DIR)/usr/bin/cc ]; then \
|
if [ ! -e $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/cc ]; then \
|
||||||
ln -snf gcc $(STAGING_DIR)/usr/bin/cc; \
|
ln -snf gcc $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/cc; \
|
||||||
fi
|
fi
|
||||||
# Set up the symlinks to enable lying about target name.
|
# Set up the symlinks to enable lying about target name.
|
||||||
set -e; \
|
set -e; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user