24629a2de7
ok on previous diff avsm@ LablGTK2 is an Objective Caml interface to gtk+2. It uses the rich type system of Objective Caml 3 to provide a strongly typed, yet very comfortable, object-oriented interface to gtk+2. This is not that easy if you know the dynamic typing approach taken by gtk+2.
22 lines
676 B
Plaintext
22 lines
676 B
Plaintext
$OpenBSD: patch-src_Makefile,v 1.1.1.1 2009/05/28 09:18:24 giovanni Exp $
|
|
--- src/Makefile.orig Fri Dec 26 05:28:27 2008
|
|
+++ src/Makefile Tue May 19 18:38:19 2009
|
|
@@ -46,7 +46,7 @@ CUSTOM = -custom
|
|
#MLLINK += -cclib -lcamlrund
|
|
MLBYTEFLAGS = -g -dtypes
|
|
else
|
|
-CFLAGS = -DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS $(GTKCFLAGS)
|
|
+CFLAGS += -DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS $(GTKCFLAGS)
|
|
ifneq ($(TOOLCHAIN),msvc)
|
|
CFLAGS += -O
|
|
endif
|
|
@@ -61,7 +61,7 @@ endif
|
|
THLINK = unix.cma threads.cma
|
|
|
|
ifdef USE_CC
|
|
-CCOMPILER = $(CC) -c -I"$(LIBDIR)" $(CFLAGS)
|
|
+CCOMPILER = $(CC) -c -I"$(LIBDIR)" $(CFLAGS) -fPIC
|
|
else
|
|
CCOMPILER = $(CAMLC) -c -ccopt '$(CFLAGS)' -verbose
|
|
endif
|