Skip to content

Commit

Permalink
set compiler std and make optimization level
Browse files Browse the repository at this point in the history
  • Loading branch information
jpoirier committed Jun 8, 2015
1 parent 9addfe1 commit 0e58d1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
CC=gcc
CFLAGS=-Wall -std=gnu11 -pedantic -DUNIX_HOST -DVER=\"`git show-ref --abbrev=8 --head --hash head`\" -DTAG=\"`git describe --abbrev=0 --tags`\"

# -O3
# -std=gnu11
CFLAGS=-Wall -O3 -std=gnu11 -pedantic -DUNIX_HOST -DVER=\"`git show-ref --abbrev=8 --head --hash head`\" -DTAG=\"`git describe --abbrev=0 --tags`\"
LIBS=-lm -lreadline

TARGET = picoc
Expand Down
4 changes: 2 additions & 2 deletions cstdlib/unistd.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* stdlib.h library */
// #include <stdio.h>
// #include <unistd.h>
/*#include <stdio.h>*/
/*#include <unistd.h>*/
#include <limits.h>
#include <fcntl.h>
#include "../interpreter.h"
Expand Down

0 comments on commit 0e58d1a

Please sign in to comment.