This website works better with JavaScript.
Home
Explore
帮助
返回水杉在线
登录水杉在线
登录水杉码园
10213903403
/
os_kernel_lab
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
fix CC assignment in Makefiles of answers
main
crdong
9 years ago
parent
9665b775be
commit
710d3eae4c
6 changed files
with
6 additions
and
6 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
labcodes_answer/lab3_result/Makefile
+1
-1
labcodes_answer/lab4_result/Makefile
+1
-1
labcodes_answer/lab5_result/Makefile
+1
-1
labcodes_answer/lab6_result/Makefile
+1
-1
labcodes_answer/lab7_result/Makefile
+1
-1
labcodes_answer/lab8_result/Makefile
+ 1
- 1
labcodes_answer/lab3_result/Makefile
View File
@ -47,7 +47,7 @@ HOSTCFLAGS := -g -Wall -O2
GDB
:=
$(
GCCPREFIX
)
gdb
CC
?
=
$(
GCCPREFIX
)
gcc
CC
:
=
$(
GCCPREFIX
)
gcc
CFLAGS
:=
-fno-builtin -Wall -ggdb -m32 -gstabs -nostdinc
$(
DEFS
)
CFLAGS
+=
$(
shell
$(
CC
)
-fno-stack-protector -E -x c /dev/null >/dev/null 2>
&
1
&&
echo
-fno-stack-protector
)
CTYPE
:=
c S
+ 1
- 1
labcodes_answer/lab4_result/Makefile
View File
@ -47,7 +47,7 @@ HOSTCFLAGS := -g -Wall -O2
GDB
:=
$(
GCCPREFIX
)
gdb
CC
?
=
$(
GCCPREFIX
)
gcc
CC
:
=
$(
GCCPREFIX
)
gcc
CFLAGS
:=
-fno-builtin -Wall -ggdb -m32 -gstabs -nostdinc
$(
DEFS
)
CFLAGS
+=
$(
shell
$(
CC
)
-fno-stack-protector -E -x c /dev/null >/dev/null 2>
&
1
&&
echo
-fno-stack-protector
)
CTYPE
:=
c S
+ 1
- 1
labcodes_answer/lab5_result/Makefile
View File
@ -47,7 +47,7 @@ HOSTCFLAGS := -g -Wall -O2
GDB
:=
$(
GCCPREFIX
)
gdb
CC
?
=
$(
GCCPREFIX
)
gcc
CC
:
=
$(
GCCPREFIX
)
gcc
CFLAGS
:=
-fno-builtin -Wall -ggdb -m32 -gstabs -nostdinc
$(
DEFS
)
CFLAGS
+=
$(
shell
$(
CC
)
-fno-stack-protector -E -x c /dev/null >/dev/null 2>
&
1
&&
echo
-fno-stack-protector
)
CTYPE
:=
c S
+ 1
- 1
labcodes_answer/lab6_result/Makefile
View File
@ -47,7 +47,7 @@ HOSTCFLAGS := -g -Wall -O2
GDB
:=
$(
GCCPREFIX
)
gdb
CC
?
=
$(
GCCPREFIX
)
gcc
CC
:
=
$(
GCCPREFIX
)
gcc
CFLAGS
:=
-fno-builtin -Wall -ggdb -m32 -gstabs -nostdinc
$(
DEFS
)
CFLAGS
+=
$(
shell
$(
CC
)
-fno-stack-protector -E -x c /dev/null >/dev/null 2>
&
1
&&
echo
-fno-stack-protector
)
CTYPE
:=
c S
+ 1
- 1
labcodes_answer/lab7_result/Makefile
View File
@ -47,7 +47,7 @@ HOSTCFLAGS := -g -Wall -O2
GDB
:=
$(
GCCPREFIX
)
gdb
CC
?
=
$(
GCCPREFIX
)
gcc
CC
:
=
$(
GCCPREFIX
)
gcc
CFLAGS
:=
-fno-builtin -Wall -ggdb -m32 -gstabs -nostdinc
$(
DEFS
)
CFLAGS
+=
$(
shell
$(
CC
)
-fno-stack-protector -E -x c /dev/null >/dev/null 2>
&
1
&&
echo
-fno-stack-protector
)
CTYPE
:=
c S
+ 1
- 1
labcodes_answer/lab8_result/Makefile
View File
@ -47,7 +47,7 @@ HOSTCFLAGS := -g -Wall -O2 -D_FILE_OFFSET_BITS=64
GDB
:=
$(
GCCPREFIX
)
gdb
CC
?
=
$(
GCCPREFIX
)
gcc
CC
:
=
$(
GCCPREFIX
)
gcc
CFLAGS
:=
-fno-builtin -Wall -ggdb -m32 -gstabs -nostdinc
$(
DEFS
)
CFLAGS
+=
$(
shell
$(
CC
)
-fno-stack-protector -E -x c /dev/null >/dev/null 2>
&
1
&&
echo
-fno-stack-protector
)
CTYPE
:=
c S
Write
Preview
Loading…
Cancel
Save