From 2f7571c9b6f3b108f1ec27f6c7252a3181efdbca Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Fri, 16 Dec 2005 17:36:58 +0000 Subject: Correct C_SYMBOL_PREFIX handling for asm, supports only none or _ --- Rules.mak | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Rules.mak') diff --git a/Rules.mak b/Rules.mak index bad4f5f7e..11bb44513 100644 --- a/Rules.mak +++ b/Rules.mak @@ -400,6 +400,10 @@ ifneq ($(DOASSERTS),y) CFLAGS+=-DNDEBUG endif +ifneq ($(strip $(C_SYMBOL_PREFIX)),"") +CFLAGS+=-D__SYMBOL_PREFIX=1 +endif + # moved from ldso/{ldso,libdl} # BEWARE!!! At least mips* will die if -O0 is used!!! ifeq ($(TARGET_ARCH),mips) -- cgit v1.2.3