git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Usermode/libaxwin4 - Implementation and debug
[tpg/acess2.git]
/
Usermode
/
Libraries
/
Makefile.cfg
diff --git
a/Usermode/Libraries/Makefile.cfg
b/Usermode/Libraries/Makefile.cfg
index
d134c85
..
113e65c
100644
(file)
--- a/
Usermode/Libraries/Makefile.cfg
+++ b/
Usermode/Libraries/Makefile.cfg
@@
-14,6
+14,7
@@
ifeq ($(ARCHDIR),native)
else
LDFLAGS += -Wl,-init,SoMain
CFLAGS += -fPIC
else
LDFLAGS += -Wl,-init,SoMain
CFLAGS += -fPIC
+ CXXFLAGS += -fPIC
endif
else ifneq ($(HOST_ARCH),)
ASFLAGS += -D ARCHDIR=$(ARCHDIR) -D __ASSEMBLER__=1
endif
else ifneq ($(HOST_ARCH),)
ASFLAGS += -D ARCHDIR=$(ARCHDIR) -D __ASSEMBLER__=1
@@
-23,13
+24,16
@@
else ifneq ($(HOST_ARCH),)
else
LDFLAGS += -Wl,-init,SoMain
CFLAGS += -fPIC
else
LDFLAGS += -Wl,-init,SoMain
CFLAGS += -fPIC
+ CXXFLAGS += -fPIC
endif
else
CPPFLAGS := -ffreestanding
CFLAGS := -fno-stack-protector -fPIC
endif
else
CPPFLAGS := -ffreestanding
CFLAGS := -fno-stack-protector -fPIC
+ CXXFLAGS := -fno-stack-protector -fPIC
LDFLAGS := -I/Acess/Libs/ld-acess.so -lld-acess `$(CC) -print-libgcc-file-name`
endif
LDFLAGS := -I/Acess/Libs/ld-acess.so -lld-acess `$(CC) -print-libgcc-file-name`
endif
-LDFLAGS += -g -nostdlib -shared -eSoMain -x --no-undefined -L$(OUTPUTDIR)Libs/
+LDFLAGS += -g -nostdlib -shared -eSoMain -x --no-undefined -L$(OUTPUTDIR)Libs/ --defsym __dso_handle=SoMain
+CXXFLAGS += -std=gnu++11
-include $(_libsdir)../common_settings.mk
-include $(_libsdir)../common_settings.mk
UCC
git Repository :: git.ucc.asn.au