Commit 5508620d authored by Ritesh Sarraf's avatar Ritesh Sarraf

Explicitly specify gcc-5 in all occurences

parent ee7785db
......@@ -25,17 +25,17 @@ copy-config:
cp config.$(DEB_HOST_ARCH) $(kernel_src)/.config
oldconfig32: unpack copy-config
CC=gcc-5 make -C $(kernel_src) oldconfig ARCH=um SUBARCH=i386
make -C $(kernel_src) oldconfig CC=gcc-5 ARCH=um SUBARCH=i386
cp config.i386 config.i386.oldconfig.old
cp $(kernel_src)/.config config.i386
oldconfig64: unpack copy-config
CC=gcc-5 make -C $(kernel_src) oldconfig ARCH=um SUBARCH=x86_64
make -C $(kernel_src) oldconfig CC=gcc-5 ARCH=um SUBARCH=x86_64
cp config.amd64 config.amd64.oldconfig.old
cp $(kernel_src)/.config config.amd64
menuconfig: unpack copy-config
CC=gcc-5 make -C $(kernel_src) menuconfig ARCH=um
make -C $(kernel_src) menuconfig CC=gcc-5 ARCH=um
cp config.$(DEB_HOST_ARCH) config.$(DEB_HOST_ARCH).menuconfig.old
cp $(kernel_src)/.config config.$(DEB_HOST_ARCH)
......@@ -60,7 +60,7 @@ configure: configure-stamp
configure-stamp: patch-stamp $(kernel_src)/.config
dh_testdir
$(MAKE) -C $(kernel_src) $(config_target) ARCH=um
$(MAKE) -C $(kernel_src) $(config_target) CC=gcc-5 ARCH=um
touch $@
......@@ -72,7 +72,7 @@ build-indep: build-stamp
build-stamp: configure
dh_testdir
$(MAKE) -C $(kernel_src) $(KBUILDVARS) linux modules ARCH=um
$(MAKE) -C $(kernel_src) $(KBUILDVARS) linux modules CC=gcc-5 ARCH=um
docbook-to-man linux.sgml > linux.uml.1
touch $@
......@@ -105,6 +105,7 @@ endif
install $(kernel_src)/linux $(tmp)/usr/bin/linux.uml
$(MAKE) -C $(kernel_src) modules_install \
CC=gcc-5 \
ARCH=um \
INSTALL_MOD_PATH=$(tmpmodules) \
INSTALL_MOD_STRIP=$(MODSTRIP)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment