summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/notecase/files/notecase-1.7.2-CFLAGS.patch')
-rw-r--r--app-text/notecase/files/notecase-1.7.2-CFLAGS.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/app-text/notecase/files/notecase-1.7.2-CFLAGS.patch b/app-text/notecase/files/notecase-1.7.2-CFLAGS.patch
new file mode 100644
index 00000000000..6eebb8650fb
--- /dev/null
+++ b/app-text/notecase/files/notecase-1.7.2-CFLAGS.patch
@@ -0,0 +1,29 @@
+--- Makefile.orig 2007-11-13 16:31:55.000000000 +0100
++++ Makefile 2007-11-13 16:33:04.000000000 +0100
+@@ -113,18 +113,9 @@
+ QC=@echo '===> Compiling $<';
+ QL=@echo '===> Linking $@';
+
+-# using "--as-needed" to cut down link requirements (check by "readelf -d /usr/bin/notecase | grep NEEDED")
+-ifeq ($(LDFLAGS),)
+-ifdef OSX_BUILD
+- LDFLAGS=-Os -Wl -bind_at_load
+-else
+- LDFLAGS=-Os -Wl,--as-needed
+-endif
+-
+ ifneq ($(NOKIA_MAEMO_BUILD),)
+ LDFLAGS += -ansi
+ endif
+-endif
+
+ # define compile/link command line with flags
+ CC=$(QC) $(CXX) $(DEBUG) $(PROFILE) -DENABLE_NLS
+@@ -158,7 +149,6 @@
+ $(OBJ)/IOLayerRedirect.o $(OBJ)/FileExportDlg.o $(OBJ)/FormatIOTxt.o $(OBJ)/FindReplaceDlg.o \
+ $(OBJ)/FindReplaceInfo.o $(OBJ)/LinkInfo.o $(OBJ)/LinkPropertiesDlg.o $(OBJ)/ExecuteFile.o \
+ $(OBJ)/FileSaveAsDlg.o $(OBJ)/CircularBuffer.o $(OBJ)/FormatIOMMLX.o \
+- $(OBJ)/libz.a \
+ $(OBJ)/ProgressDlg.o $(OBJ)/DocActionPix.o $(OBJ)/DocActionFinish.o $(OBJ)/DocActionFmt.o $(OBJ)/FmtInfo.o \
+ $(OBJ)/FileAttachmentDlg.o $(OBJ)/DocActionAtt.o $(OBJ)/PixPropertiesDlg.o $(OBJ)/DocActionFinishDel.o \
+ $(OBJ)/ShortcutsList.o $(OBJ)/ShortcutsListDlg.o $(OBJ)/DateTimeDlg.o $(OBJ)/AboutDlg.o $(OBJ)/EditDlg.o