Changeset 1878


Ignore:
Timestamp:
08/19/10 12:26:36 (14 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs:

Put in Release Notes: No

Module(s): libatnf

Description: a bit more modifications to compile options.

+removed ineffective -DMACOSXBUILT and -s from mac build
+added -pipe option to g++


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/external-alma/Makefile

    r1877 r1878  
    2525
    2626# compiler flags
    27 CXXFLAGS := -fPIC -O2 -g -fno-omit-frame-pointer
     27CXXFLAGS := -fPIC -O2 -g -fno-omit-frame-pointer -pipe
    2828CXXFLAGS += -Wall -Wextra -Wcast-align -Wno-comment
    2929# passing flags to codes for casacore
     
    3838                -mfpmath=sse -ftree-vectorize -ffast-math -fasm-blocks
    3939        CXXOPTS += -DAIPS_DARWIN
    40         CXXOPTS += -DMACOSXBUILT
    4140else # so far CASAARCH is either darwin, linux_gnu, or linux_64b (Aug.2010)
    4241        CXXFLAGS += -ansi
     
    6160LD        := $(CXX)
    6261
    63 #LDFLAGS   := -shared -Wl$(TARGETLIB) -s -Xlinker -rpath -Xlinker $(BOOSTROOT)/lib:$(PYTHONROOT)/lib:$(CASALIB)
    64 LDFLAGS   := -pipe -Wl,--no-undefined -shared -Wl,-soname,$(TARGETLIB) -s -Xlinker -rpath -Xlinker $(CASALIB)
     62LDFLAGS   := -Wl,--no-undefined -shared -Wl,-soname,$(TARGETLIB) -s -Xlinker -rpath -Xlinker $(CASALIB)
    6563ifeq "$(CASAARCH)" "darwin"
    66    LDFLAGS   := -dynamiclib -Wl,-undefined -Wl,error -install_name $(CASALIB)/$(TARGETLIB) -s -Xlinker -rpath -Xlinker $(CASALIB)
    67    #LDFLAGS += -headerpad_max_install_names -compatibility_version 3.1.0
     64   LDFLAGS   := -dynamiclib -Wl,-undefined -Wl,error -install_name $(CASALIB)/$(TARGETLIB) -Xlinker -rpath -Xlinker $(CASALIB)
    6865endif
    6966
Note: See TracChangeset for help on using the changeset viewer.