Commit b4834f3b authored by Ritesh Sarraf's avatar Ritesh Sarraf

Use gcc-5 to build the kernel

parent db39875f
......@@ -2,7 +2,7 @@ Source: user-mode-linux
Section: kernel
Priority: extra
Maintainer: User Mode Linux Maintainers <pkg-uml-pkgs@lists.alioth.debian.org>
Build-Depends: debhelper (>> 9.0.0), quilt, linux-source-4.7, docbook-to-man, xz-utils, m4, kmod, libvdeplug2-dev, libpcap-dev, bc, dpkg (>= 1.16.2), libssl-dev
Build-Depends: debhelper (>> 9.0.0), quilt, linux-source-4.7, docbook-to-man, xz-utils, m4, kmod, libvdeplug2-dev, libpcap-dev, bc, dpkg (>= 1.16.2), libssl-dev, gcc-5
Uploaders: Mattia Dongili <malattia@debian.org>, Ritesh Raj Sarraf <rrs@debian.org>
Standards-Version: 3.9.8
Vcs-Git: https://anonscm.debian.org/git/pkg-uml/user-mode-linux.git
......
......@@ -28,17 +28,17 @@ copy-config:
cp config.$(DEB_HOST_ARCH) $(kernel_src)/.config
oldconfig32: unpack copy-config
make -C $(kernel_src) oldconfig ARCH=um SUBARCH=i386
CC=gcc-5 make -C $(kernel_src) oldconfig ARCH=um SUBARCH=i386
cp config.i386 config.i386.oldconfig.old
cp $(kernel_src)/.config config.i386
oldconfig64: unpack copy-config
make -C $(kernel_src) oldconfig ARCH=um SUBARCH=x86_64
CC=gcc-5 make -C $(kernel_src) oldconfig ARCH=um SUBARCH=x86_64
cp config.amd64 config.amd64.oldconfig.old
cp $(kernel_src)/.config config.amd64
menuconfig: unpack copy-config
make -C $(kernel_src) menuconfig ARCH=um
CC=gcc-5 make -C $(kernel_src) menuconfig ARCH=um
cp config.$(DEB_HOST_ARCH) config.$(DEB_HOST_ARCH).menuconfig.old
cp $(kernel_src)/.config config.$(DEB_HOST_ARCH)
......
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