Changeset 1878
- Timestamp:
- 08/19/10 12:26:36 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external-alma/Makefile
r1877 r1878 25 25 26 26 # compiler flags 27 CXXFLAGS := -fPIC -O2 -g -fno-omit-frame-pointer 27 CXXFLAGS := -fPIC -O2 -g -fno-omit-frame-pointer -pipe 28 28 CXXFLAGS += -Wall -Wextra -Wcast-align -Wno-comment 29 29 # passing flags to codes for casacore … … 38 38 -mfpmath=sse -ftree-vectorize -ffast-math -fasm-blocks 39 39 CXXOPTS += -DAIPS_DARWIN 40 CXXOPTS += -DMACOSXBUILT41 40 else # so far CASAARCH is either darwin, linux_gnu, or linux_64b (Aug.2010) 42 41 CXXFLAGS += -ansi … … 61 60 LD := $(CXX) 62 61 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) 62 LDFLAGS := -Wl,--no-undefined -shared -Wl,-soname,$(TARGETLIB) -s -Xlinker -rpath -Xlinker $(CASALIB) 65 63 ifeq "$(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) 68 65 endif 69 66
Note:
See TracChangeset
for help on using the changeset viewer.