Skip to content

Commit

Permalink
cris: Remove old legacy "-traditional" flag from arch-v10/lib/Makefile
Browse files Browse the repository at this point in the history
commit 7b91747 upstream.

Most of these have been purged years ago.  This one silently lived
on until commit 69349c2

    "kconfig: fix IS_ENABLED to not require all options to be defined"

In the above, we use some macro trickery to create a conditional that
is valid in CPP and in C usage.  However that trickery doesn't sit
well if you have the legacy "-traditional" flag enabled.  You'll get:

  AS      arch/cris/arch-v10/lib/checksum.o
In file included from <command-line>:4:0:
include/linux/kconfig.h:23:0: error: syntax error in macro parameter list
make[2]: *** [arch/cris/arch-v10/lib/checksum.o] Error 1

Everything builds fine w/o "-traditional" so simply drop it from this
location as well.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
  • Loading branch information
Paul Gortmaker authored and Ben Hutchings committed Mar 19, 2018
1 parent f7e4e4b commit 8c88e12
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/cris/arch-v10/lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,5 @@
# Makefile for Etrax-specific library files..
#


EXTRA_AFLAGS := -traditional

lib-y = checksum.o checksumcopy.o string.o usercopy.o memset.o csumcpfruser.o

0 comments on commit 8c88e12

Please sign in to comment.