Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
774bd861
Commit
774bd861
authored
Aug 16, 2006
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Plain Diff
Merge
git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-2.6.18
parents
223ddcea
c9eca0b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Makefile
Makefile
+4
-4
No files found.
Makefile
View file @
774bd861
...
@@ -309,9 +309,6 @@ CPPFLAGS := -D__KERNEL__ $(LINUXINCLUDE)
...
@@ -309,9 +309,6 @@ CPPFLAGS := -D__KERNEL__ $(LINUXINCLUDE)
CFLAGS
:=
-Wall
-Wundef
-Wstrict-prototypes
-Wno-trigraphs
\
CFLAGS
:=
-Wall
-Wundef
-Wstrict-prototypes
-Wno-trigraphs
\
-fno-strict-aliasing
-fno-common
-fno-strict-aliasing
-fno-common
# Force gcc to behave correct even for buggy distributions
CFLAGS
+=
$(
call
cc-option,
-fno-stack-protector
)
AFLAGS
:=
-D__ASSEMBLY__
AFLAGS
:=
-D__ASSEMBLY__
# Read KERNELRELEASE from include/config/kernel.release (if it exists)
# Read KERNELRELEASE from include/config/kernel.release (if it exists)
...
@@ -486,6 +483,8 @@ else
...
@@ -486,6 +483,8 @@ else
CFLAGS
+=
-O2
CFLAGS
+=
-O2
endif
endif
include
$(srctree)/arch/$(ARCH)/Makefile
ifdef
CONFIG_FRAME_POINTER
ifdef
CONFIG_FRAME_POINTER
CFLAGS
+=
-fno-omit-frame-pointer
$(
call
cc-option,-fno-optimize-sibling-calls,
)
CFLAGS
+=
-fno-omit-frame-pointer
$(
call
cc-option,-fno-optimize-sibling-calls,
)
else
else
...
@@ -500,7 +499,8 @@ ifdef CONFIG_DEBUG_INFO
...
@@ -500,7 +499,8 @@ ifdef CONFIG_DEBUG_INFO
CFLAGS
+=
-g
CFLAGS
+=
-g
endif
endif
include
$(srctree)/arch/$(ARCH)/Makefile
# Force gcc to behave correct even for buggy distributions
CFLAGS
+=
$(
call
cc-option,
-fno-stack-protector
)
# arch Makefile may override CC so keep this after arch Makefile is included
# arch Makefile may override CC so keep this after arch Makefile is included
NOSTDINC_FLAGS
+=
-nostdinc
-isystem
$(
shell
$(CC)
-print-file-name
=
include
)
NOSTDINC_FLAGS
+=
-nostdinc
-isystem
$(
shell
$(CC)
-print-file-name
=
include
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment