Mercurial > pidgin
comparison src/win32/global.mak @ 5932:bb7723f0b4b9
[gaim-migrate @ 6372]
Changed dll build rules in the mingw makefiles. Plugins will no
longer crash when built with the '-g' compile flag and plugin crashes will
now produce the correct debug info.
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Sat, 21 Jun 2003 01:03:23 +0000 |
parents | e1b5619e6a02 |
children | 59ffe137176d |
comparison
equal
deleted
inserted
replaced
5931:8b5dd7117f56 | 5932:bb7723f0b4b9 |
---|---|
5 # wide definitions. | 5 # wide definitions. |
6 # | 6 # |
7 | 7 |
8 CC = gcc.exe | 8 CC = gcc.exe |
9 | 9 |
10 # Don't use -g flag when building Plugin DLLs | 10 # Use -g flag when building debug version of Gaim (including plugins) |
11 CFLAGS += -O2 -Wall -mno-cygwin -fnative-struct | 11 CFLAGS += -O2 -Wall -mno-cygwin -fnative-struct |
12 | |
13 # If not specified, dlls are built with the default base address of 0x10000000. | |
14 # When loaded into a process address space a dll will be rebased if its base | |
15 # address colides with the base address of an existing dll. To avoid rebasing | |
16 # we do the following. Rebasing can slow down the load time of dlls and it | |
17 # also renders debug info useless. | |
18 DLL_LD_FLAGS += -Wl,--enable-auto-image-base | |
12 | 19 |
13 VERSION := $(shell cat $(GAIM_TOP)/VERSION) | 20 VERSION := $(shell cat $(GAIM_TOP)/VERSION) |
14 | 21 |
15 DEFINES += -DVERSION=\"$(VERSION)\" \ | 22 DEFINES += -DVERSION=\"$(VERSION)\" \ |
16 -DHAVE_CONFIG_H | 23 -DHAVE_CONFIG_H |