Commit 0a2163ec authored by Raymond Toy's avatar Raymond Toy
Browse files

Update netbsd config. Untested.

 * Add the appropriate gcc options to enable sse2 instructions.
 * Remove the fdlibm routines since they're in GNUMakefile now.
parent ae3e2030
# -*- Mode: makefile -*-
include Config.x86_common
CPPFLAGS += -march=pentium4 -mfpmath=sse
UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
OS_SRC += NetBSD-os.c elf.c
OS_LINK_FLAGS = -dynamic -export-dynamic
......@@ -8,22 +10,3 @@ OS_LIBS =
EXEC_FINAL_OBJ = exec-final.o
OS_SRC += k_sin.c k_cos.c k_tan.c s_sin.c s_cos.c s_tan.c sincos.c
k_sin.o : k_sin.c
$(CC) -c $(CFLAGS) $(CPPFLAGS) $(CC_REM_PIO2) $<
k_cos.o : k_cos.c
$(CC) -c $(CFLAGS) $(CPPFLAGS) $(CC_REM_PIO2) $<
k_tan.o : k_tan.c
$(CC) -c $(CFLAGS) $(CPPFLAGS) $(CC_REM_PIO2) $<
s_sin.o : s_sin.c
$(CC) -c $(CFLAGS) $(CPPFLAGS) $(CC_REM_PIO2) $<
s_cos.o : s_cos.c
$(CC) -c $(CFLAGS) $(CPPFLAGS) $(CC_REM_PIO2) $<
s_tan.o : s_tan.c
$(CC) -c $(CFLAGS) $(CPPFLAGS) $(CC_REM_PIO2) $<
sincos.o : sincos.c
$(CC) -c $(CFLAGS) $(CPPFLAGS) $(CC_REM_PIO2) $<
Supports Markdown
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