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 \
|
||||
$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc; \
|
||||
fi
|
||||
if [ ! -e $(STAGING_DIR)/usr/bin/gcc ]; then \
|
||||
ln -snf gcc $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc; \
|
||||
if [ ! -e $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/cc ]; then \
|
||||
ln -snf gcc $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/cc; \
|
||||
fi
|
||||
# Set up the symlinks to enable lying about target name.
|
||||
set -e; \
|
||||
|
@ -306,8 +306,8 @@ endif
|
||||
ln -snf $(REAL_GNU_TARGET_NAME)-gcc \
|
||||
$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc; \
|
||||
fi
|
||||
if [ ! -e $(STAGING_DIR)/usr/bin/cc ]; then \
|
||||
ln -snf gcc $(STAGING_DIR)/usr/bin/cc; \
|
||||
if [ ! -e $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/cc ]; then \
|
||||
ln -snf gcc $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/cc; \
|
||||
fi
|
||||
# Set up the symlinks to enable lying about target name.
|
||||
set -e; \
|
||||
|
Loading…
Reference in New Issue
Block a user