Changeset 473e693 in mainline for kernel/Makefile


Ignore:
Timestamp:
2007-06-05T13:58:00Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
92d349c8
Parents:
48d14222
Message:

More suncc fixes.

  • Removed extra semicolons after function declaration.
  • Sun Studio recognizes only C99 func and no gcc-specific FUNCTION. In this case, a simple -D option can fix the problem.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/Makefile

    r48d14222 r473e693  
    3939DEFS = -D$(ARCH) -DARCH=\"$(ARCH)\" -DRELEASE=\"$(RELEASE)\" "-DNAME=\"$(NAME)\"" -DKERNEL
    4040CFLAGS = -fno-builtin -fomit-frame-pointer -Wall -Wmissing-prototypes -Werror -O3 -nostdlib -nostdinc -Igeneric/include/
    41 #SUNCC_CFLAGS = -xO3 -Igeneric/include/ -xnolib -xc99=all
     41#SUNCC_CFLAGS = -xO3 -Igeneric/include/ -xnolib -xc99=all -D__FUNCTION__=__func__
    4242LFLAGS = -M
    4343AFLAGS =
Note: See TracChangeset for help on using the changeset viewer.