projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
979c6a1
)
include/linux/compiler.h: reject gcc 3 < gcc 3.2
author
Alistair John Strachan
<s0348365@sms.ed.ac.uk>
Tue, 12 Dec 2006 18:28:50 +0000
(19:28 +0100)
committer
Adrian Bunk
<bunk@stusta.de>
Tue, 12 Dec 2006 18:28:50 +0000
(19:28 +0100)
The kernel doesn't compile with GCC <3.2, do not allow it to succeed if GCC
3.0.x or 3.1.x are used.
Signed-off-by: Alistair John Strachan <s0348365@sms.ed.ac.uk>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
include/linux/compiler.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/compiler.h
b/include/linux/compiler.h
index 538423d4a865de29981ff7a2208fb1afc77ccd43..aca66984aafd7635f254f18f8ae4518925a69703 100644
(file)
--- a/
include/linux/compiler.h
+++ b/
include/linux/compiler.h
@@
-40,7
+40,7
@@
extern void __chk_io_ptr(void __iomem *);
#error no compiler-gcc.h file for this gcc version
#elif __GNUC__ == 4
# include <linux/compiler-gcc4.h>
-#elif __GNUC__ == 3
+#elif __GNUC__ == 3
&& __GNUC_MINOR__ >= 2
# include <linux/compiler-gcc3.h>
#else
# error Sorry, your compiler is too old/not recognized.