File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
all :
2
+ if [ ! -f lib/machine_include/machine ]; then cp -rf lib/machine_include/machine_x64 lib/machine_include/machine ; fi
2
3
make -C lib
3
4
make -C example
4
5
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ LIBS+= -Wl,--no-whole-archive -lrt -lm -ldl -pthread
15
15
16
16
TARGET ="helloworld"
17
17
all :
18
- $(CC ) -m32 - g -I../lib -o ${TARGET} main.c ${LIBS}
19
- $(CC ) -m32 - g -I../lib -o ${TARGET} _epoll main_epoll.c ${LIBS}
18
+ $(CC ) -g -I../lib -o ${TARGET} main.c ${LIBS}
19
+ $(CC ) -g -I../lib -o ${TARGET} _epoll main_epoll.c ${LIBS}
20
20
21
21
.PHONY : clean
22
22
clean :
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ HOST_OS:=$(shell uname -s)
18
18
19
19
DEBUG =-g
20
20
21
- C_DIALECT = -std=c99 -m32
21
+ C_DIALECT = -std=c99
22
22
CFLAGS = ${C_DIALECT} ${DEBUG} -DFSTACK
23
23
KERNEL_CFLAGS = -D_KERNEL -include opt_global.h -fno-builtin
24
24
@@ -32,7 +32,7 @@ NORMAL_C= ${CC} -c ${CFLAGS} ${KERNEL_CFLAGS} ${INCLUDES} $< -o $@
32
32
33
33
# Include search path for files that only include host OS headers
34
34
HOST_INCLUDES = -I.
35
- HOST_CFLAGS = ${DEBUG} -m32
35
+ HOST_CFLAGS = ${DEBUG}
36
36
HOST_C = ${CC} -c $(HOST_CFLAGS ) ${HOST_INCLUDES} $<
37
37
38
38
You can’t perform that action at this time.
0 commit comments