diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/kbuild/makefiles.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/kbuild/makefiles.txt b/Documentation/kbuild/makefiles.txt index d802ce88bedc..443230b43e09 100644 --- a/Documentation/kbuild/makefiles.txt +++ b/Documentation/kbuild/makefiles.txt | |||
@@ -1033,9 +1033,9 @@ When kbuild executes the following steps are followed (roughly): | |||
1033 | 1033 | ||
1034 | Example: | 1034 | Example: |
1035 | #arch/i386/Makefile | 1035 | #arch/i386/Makefile |
1036 | GCC_VERSION := $(call cc-version) | ||
1037 | cflags-y += $(shell \ | 1036 | cflags-y += $(shell \ |
1038 | if [ $(GCC_VERSION) -ge 0300 ] ; then echo "-mregparm=3"; fi ;) | 1037 | if [ $(call cc-version) -ge 0300 ] ; then \ |
1038 | echo "-mregparm=3"; fi ;) | ||
1039 | 1039 | ||
1040 | In the above example -mregparm=3 is only used for gcc version greater | 1040 | In the above example -mregparm=3 is only used for gcc version greater |
1041 | than or equal to gcc 3.0. | 1041 | than or equal to gcc 3.0. |