Skip to content

Commit

Permalink
Add back the option to build with the sun studio.
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
  • Loading branch information
xl0 committed Aug 1, 2011
1 parent 2169aa0 commit e75c198
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions virtio/Makefile
@@ -1,8 +1,11 @@

#CFLAGS=-D_KERNEL -DDEBUG -m64 -xarch=sse2a -xmodel=kernel -g
CFLAGS= -D_KERNEL -DDEBUG -m64 -mcmodel=kernel -mno-red-zone -ffreestanding -nodefaultlibs -Wall


LDFLAGS=-r

#CC=/opt/SUNWspro/bin/cc
CC=gcc
LD=/usr/ccs/bin/ld

Expand Down
3 changes: 2 additions & 1 deletion virtio_blk/Makefile
@@ -1,8 +1,9 @@


#CFLAGS= -D_KERNEL -DDEBUG -m64 -xarch=sse2a -xmodel=kernel -I ../virtio -g
CFLAGS= -DDEBUG -D_KERNEL -m64 -mcmodel=kernel -mno-red-zone -ffreestanding -nodefaultlibs -I../virtio -Wall -g
LDFLAGS=-r -dy -N misc/mac -N misc/virtio -N drv/blkdev

#CC=/opt/SUNWspro/bin/cc
CC=gcc
LD=/usr/ccs/bin/ld
all: vioblk
Expand Down
3 changes: 2 additions & 1 deletion virtio_net/Makefile
@@ -1,8 +1,9 @@


#CFLAGS=-D_KERNEL -m64 -xarch=sse2a -xmodel=kernel -I ../virtio -g
CFLAGS= -D_KERNEL -DDEBUG -m64 -mcmodel=kernel -mno-red-zone -ffreestanding -nodefaultlibs -I../virtio -Wall -g
LDFLAGS=-r -dy -N misc/mac -N misc/virtio

#CC=/opt/SUNWspro/bin/cc
CC=gcc
LD=/usr/ccs/bin/ld

Expand Down

0 comments on commit e75c198

Please sign in to comment.