Browse Source

Use the c99 standard rather than gnu99.

Viral B. Shah 12 years ago
parent
commit
5656ce4296
3 changed files with 3 additions and 5 deletions
  1. 1 1
      Make.inc
  2. 1 1
      test/Makefile
  3. 1 3
      test/libm-test.c

+ 1 - 1
Make.inc

@@ -1,7 +1,7 @@
 CC=gcc
 OS = $(shell uname)
 ARCH = $(shell uname -m)
-CFLAGS= -std=gnu99 -Wall -O2 -I$(OPENLIBM_HOME) -I$(OPENLIBM_HOME)/include -I$(OPENLIBM_HOME)/ld80 -I$(OPENLIBM_HOME)/$(ARCH) -I$(OPENLIBM_HOME)/src -DASSEMBLER -D__BSD_VISIBLE -Wno-implicit-function-declaration
+CFLAGS= -std=c99 -Wall -O2 -I$(OPENLIBM_HOME) -I$(OPENLIBM_HOME)/include -I$(OPENLIBM_HOME)/ld80 -I$(OPENLIBM_HOME)/$(ARCH) -I$(OPENLIBM_HOME)/src -DASSEMBLER -D__BSD_VISIBLE -Wno-implicit-function-declaration
 
 default: all
 

+ 1 - 1
test/Makefile

@@ -1,7 +1,7 @@
 OPENLIBM_HOME=$(abspath ..)
 include ../Make.inc
 
-all: test-double test-float test-double-system test-float-system
+all: test-double test-float test-double-system
 
 test-double: test-double.c libm-test.c
 	$(CC) -g $< -D__BSD_VISIBLE -I ../include -I../src ../libopenlibm.a -o $@

+ 1 - 3
test/libm-test.c

@@ -4538,9 +4538,7 @@ main (int argc, char **argv)
   /* Nearest integer functions:  */
   ceil_test ();
   floor_test ();
-  /*
-  nearbyint_test ();
-  */
+  //nearbyint_test ();
   rint_test ();
   lrint_test ();
   llrint_test ();