aboutsummaryrefslogtreecommitdiffstats
path: root/com32
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-10-10 14:12:58 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-10-10 14:12:58 -0700
commit83d1b33a86685ede62933f761b8e0b61c48b269f (patch)
tree3b8da1457324bfe319afc7a6cac762c21ea5aeb3 /com32
parent985c965eca140470d87912cebd923cd27a6d892c (diff)
downloadsyslinux-elf-83d1b33a86685ede62933f761b8e0b61c48b269f.tar.gz
syslinux-elf-83d1b33a86685ede62933f761b8e0b61c48b269f.tar.xz
syslinux-elf-83d1b33a86685ede62933f761b8e0b61c48b269f.zip
Makefiles: create NASMOPT variable
Create NASMOPT variable, defaulting to -O9999. Mostly there to test beta versions of NASM.
Diffstat (limited to 'com32')
-rw-r--r--com32/libutil/Makefile3
-rw-r--r--com32/modules/Makefile3
-rw-r--r--com32/samples/Makefile3
3 files changed, 6 insertions, 3 deletions
diff --git a/com32/libutil/Makefile b/com32/libutil/Makefile
index 1e5c7bcf..df5843e3 100644
--- a/com32/libutil/Makefile
+++ b/com32/libutil/Makefile
@@ -1,6 +1,6 @@
## -----------------------------------------------------------------------
##
-## Copyright 2001-2004 H. Peter Anvin - All Rights Reserved
+## Copyright 2001-2007 H. Peter Anvin - All Rights Reserved
##
## Permission is hereby granted, free of charge, to any person
## obtaining a copy of this software and associated documentation
@@ -40,6 +40,7 @@ CC = gcc
LD = ld -m elf_i386
AR = ar
NASM = nasm
+NASMOPT = -O9999
RANLIB = ranlib
CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -D__COM32__ -W -Wall -march=i386 -Os -fomit-frame-pointer -I./include -I../include
SFLAGS = $(M32) -D__COM32__ -march=i386
diff --git a/com32/modules/Makefile b/com32/modules/Makefile
index 933987e2..7910020e 100644
--- a/com32/modules/Makefile
+++ b/com32/modules/Makefile
@@ -1,6 +1,6 @@
## -----------------------------------------------------------------------
##
-## Copyright 2001-2006 H. Peter Anvin - All Rights Reserved
+## Copyright 2001-2007 H. Peter Anvin - All Rights Reserved
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
@@ -25,6 +25,7 @@ CC = gcc
LD = ld -m elf_i386
AR = ar
NASM = nasm
+NASMOPT = -O9999
RANLIB = ranlib
CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -W -Wall -march=i386 -Os -fomit-frame-pointer -I../libutil/include -I../include -D__COM32__
LNXCFLAGS = -W -Wall -O -g -I../libutil/include
diff --git a/com32/samples/Makefile b/com32/samples/Makefile
index 5ac2aad3..e14e08f1 100644
--- a/com32/samples/Makefile
+++ b/com32/samples/Makefile
@@ -1,6 +1,6 @@
## -----------------------------------------------------------------------
##
-## Copyright 2001-2004 H. Peter Anvin - All Rights Reserved
+## Copyright 2001-2007 H. Peter Anvin - All Rights Reserved
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
@@ -25,6 +25,7 @@ CC = gcc
LD = ld -m elf_i386
AR = ar
NASM = nasm
+NASMOPT = -O9999
RANLIB = ranlib
CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -W -Wall -march=i386 -Os -fomit-frame-pointer -I../libutil/include -I../include -D__COM32__
LNXCFLAGS = -W -Wall -O -g -I../libutil/include