We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3208e8a commit ef4026dCopy full SHA for ef4026d
1 file changed
dkppc/scripts/build-gcc.sh
@@ -125,6 +125,11 @@ cd $target/newlib
125
unset CFLAGS
126
unset LDFLAGS
127
128
+OLD_CC=$CC
129
+OLD_CXX=$CXX
130
+unset CC
131
+unset CXX
132
+
133
if [ ! -f configured-newlib ]
134
then
135
CFLAGS_FOR_TARGET="-O2 -ffunction-sections -fdata-sections" \
@@ -148,6 +153,9 @@ then
148
153
touch installed-newlib
149
154
fi
150
155
156
+export CC=$OLD_CC
157
+export CXX=$OLD_CXX
158
151
159
#---------------------------------------------------------------------------------
152
160
# build and install the final compiler
161
0 commit comments