summaryrefslogtreecommitdiff
path: root/repo
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-12 17:38:15 +0000
committerdavidovski <david@davidovski.xyz>2022-01-12 17:38:15 +0000
commit2e29a5102613e9fec410175f719924b56eab83e0 (patch)
treebdf7b6c98092b40aad22ca392c1b88d98cba340e /repo
parentd50c14859c9d0f6dbcdd8895682ca65245c4e278 (diff)
added /usr/bin/cc symlink
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
}