summaryrefslogtreecommitdiff
path: root/repo
diff options
context:
space:
mode:
Diffstat (limited to 'repo')
-rw-r--r--repo/core/gcc.xibuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/repo/core/gcc.xibuild b/repo/core/gcc.xibuild
index 1066cfa..e022593 100644
--- a/repo/core/gcc.xibuild
+++ b/repo/core/gcc.xibuild
@@ -74,4 +74,7 @@ package () {
# move a misplaced file
mkdir -pv $PKG_DEST/usr/share/gdb/auto-load/usr/lib
mv -v $PKG_DEST/usr/lib/*gdb.py $PKG_DEST/usr/share/gdb/auto-load/usr/lib
+
+ # set gcc as the default c compiler
+ ln -s gcc $PKG_DEST/usr/bin/cc
}