Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
ocaml
ocaml-3.09-rpmoptflags.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ocaml-3.09-rpmoptflags.patch of Package ocaml
--- asmrun/Makefile +++ asmrun/Makefile @@ -18,9 +18,9 @@ CC=$(NATIVECC) FLAGS=-I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE \ -DTARGET_$(ARCH) -DSYS_$(SYSTEM) -CFLAGS=$(FLAGS) -O $(NATIVECCCOMPOPTS) +CFLAGS=$(FLAGS) $(RPM_OPT_FLAGS) $(NATIVECCCOMPOPTS) DFLAGS=$(FLAGS) -g -DDEBUG $(NATIVECCCOMPOPTS) -PFLAGS=$(FLAGS) -pg -O -DPROFILING $(NATIVECCPROFOPTS) +PFLAGS=$(FLAGS) -pg $(RPM_OPT_FLAGS) -DPROFILING $(NATIVECCPROFOPTS) COBJS=startup.o main.o fail.o roots.o globroots.o signals.o \ misc.o freelist.o major_gc.o minor_gc.o memory.o alloc.o compare.o ints.o \ --- byterun/Makefile +++ byterun/Makefile @@ -16,7 +16,7 @@ include ../config/Makefile CC=$(BYTECC) -CFLAGS=-DCAML_NAME_SPACE -O $(BYTECCCOMPOPTS) +CFLAGS=-DCAML_NAME_SPACE $(RPM_OPT_FLAGS) $(BYTECCCOMPOPTS) DFLAGS=-DCAML_NAME_SPACE -g -DDEBUG $(BYTECCCOMPOPTS) OBJS=interp.o misc.o stacks.o fix_code.o startup.o main.o \ --- configure +++ configure @@ -303,7 +303,7 @@ # Configure compiler to use in further tests -cc="$bytecc -O $bytecclinkopts" +cc="$bytecc $RPM_OPT_FLAGS $bytecclinkopts" export cc cclibs verbose # Check C compiler --- otherlibs/bigarray/Makefile +++ otherlibs/bigarray/Makefile @@ -16,7 +16,7 @@ include ../../config/Makefile CC=$(BYTECC) -CFLAGS=-I../../byterun -O $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) +CFLAGS=-I../../byterun $(RPM_OPT_FLAGS) $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) CAMLC=../../ocamlcomp.sh -I ../unix CAMLOPT=../../ocamlcompopt.sh -I ../unix MKLIB=../../boot/ocamlrun ../../tools/ocamlmklib --- otherlibs/dbm/Makefile +++ otherlibs/dbm/Makefile @@ -24,7 +24,7 @@ MKLIB=../../boot/ocamlrun ../../tools/ocamlmklib COMPFLAGS=-warn-error A -CFLAGS=$(DBM_INCLUDES) -I../../byterun -O $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) +CFLAGS=$(DBM_INCLUDES) -I../../byterun $(RPM_OPT_FLAGS) $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) COBJS=cldbm.o all: libmldbm.a dbm.cmi dbm.cma --- otherlibs/graph/Makefile +++ otherlibs/graph/Makefile @@ -18,7 +18,7 @@ include ../../config/Makefile CC=$(BYTECC) -CFLAGS=-I../../byterun $(X11_INCLUDES) -O $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) +CFLAGS=-I../../byterun $(X11_INCLUDES) $(RPM_OPT_FLAGS) $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) CAMLC=../../ocamlcomp.sh CAMLOPT=../../ocamlcompopt.sh MKLIB=../../boot/ocamlrun ../../tools/ocamlmklib --- otherlibs/labltk/support/Makefile +++ otherlibs/labltk/support/Makefile @@ -11,7 +11,7 @@ COBJS=cltkCaml.o cltkUtf.o cltkEval.o cltkEvent.o cltkFile.o cltkMain.o \ cltkMisc.o cltkTimer.o cltkVar.o cltkWait.o cltkImg.o -CCFLAGS=-I../../../byterun $(TK_DEFS) $(SHAREDCCCOMPOPTS) +CCFLAGS=$(RPM_OPT_FLAGS) -I../../../byterun $(TK_DEFS) $(SHAREDCCCOMPOPTS) COMPFLAGS=-I $(OTHERS)/unix THFLAGS=-I $(OTHERS)/systhreads -I $(OTHERS)/threads --- otherlibs/labltk/tkanim/Makefile +++ otherlibs/labltk/tkanim/Makefile @@ -1,7 +1,7 @@ include ../support/Makefile.common COMPFLAGS=-I ../../../byterun -I ../support -I ../camltk -I ../../unix -CCFLAGS=-I../../../byterun -I../support $(TK_DEFS) $(SHAREDCCCOMPOPTS) +CCFLAGS=$(RPM_OPT_FLAGS) -I../../../byterun -I../support $(TK_DEFS) $(SHAREDCCCOMPOPTS) all: tkanim.cma libtkanim.a opt: tkanim.cmxa libtkanim.a --- otherlibs/num/Makefile +++ otherlibs/num/Makefile @@ -19,7 +19,7 @@ # Compilation options CC=$(BYTECC) -CFLAGS=-O -I../../byterun $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) \ +CFLAGS=$(RPM_OPT_FLAGS) -I../../byterun $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) \ -DBNG_ARCH_$(BNG_ARCH) -DBNG_ASM_LEVEL=$(BNG_ASM_LEVEL) CAMLC=../../ocamlcomp.sh CAMLOPT=../../ocamlcompopt.sh --- otherlibs/str/Makefile +++ otherlibs/str/Makefile @@ -19,7 +19,7 @@ # Compilation options CC=$(BYTECC) -CFLAGS=-O -I../../byterun $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) +CFLAGS=$(RPM_OPT_FLAGS) -I../../byterun $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) CAMLC=../../ocamlcomp.sh CAMLOPT=../../ocamlcompopt.sh COMPFLAGS=-warn-error A --- otherlibs/systhreads/Makefile +++ otherlibs/systhreads/Makefile @@ -35,7 +35,7 @@ $(MKLIB) -o threads $(BYTECODE_C_OBJS) posix_b.o: posix.c - $(BYTECC) -O -I../../byterun $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) \ + $(BYTECC) $(RPM_OPT_FLAGS) -I../../byterun $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) \ -c posix.c mv posix.o posix_b.o @@ -45,7 +45,7 @@ $(AR) rc libthreadsnat.a $(NATIVECODE_C_OBJS) posix_n.o: posix.c - $(NATIVECC) -O -I../../asmrun -I../../byterun $(NATIVECCCOMPOPTS) $(SHAREDCCCOMPOPTS) -DNATIVE_CODE -DTARGET_$(ARCH) -DSYS_$(SYSTEM) -c posix.c + $(NATIVECC) $(RPM_OPT_FLAGS) -I../../asmrun -I../../byterun $(NATIVECCCOMPOPTS) $(SHAREDCCCOMPOPTS) -DNATIVE_CODE -DTARGET_$(ARCH) -DSYS_$(SYSTEM) -c posix.c mv posix.o posix_n.o threads.cma: $(THREAD_OBJS) --- otherlibs/threads/Makefile +++ otherlibs/threads/Makefile @@ -16,7 +16,7 @@ include ../../config/Makefile CC=$(BYTECC) -CFLAGS=-I../../byterun -O $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) -g +CFLAGS=-I../../byterun $(RPM_OPT_FLAGS) $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) -g CAMLC=../../ocamlcomp.sh -I ../unix MKLIB=../../boot/ocamlrun ../../tools/ocamlmklib COMPFLAGS=-warn-error A --- otherlibs/unix/Makefile +++ otherlibs/unix/Makefile @@ -19,7 +19,7 @@ # Compilation options CC=$(BYTECC) -CFLAGS=-I../../byterun -O $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) +CFLAGS=-I../../byterun $(RPM_OPT_FLAGS) $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) CAMLC=../../ocamlcomp.sh CAMLOPT=../../ocamlcompopt.sh MKLIB=../../boot/ocamlrun ../../tools/ocamlmklib --- yacc/Makefile +++ yacc/Makefile @@ -17,7 +17,7 @@ include ../config/Makefile CC=$(BYTECC) -CFLAGS=-O -DNDEBUG $(BYTECCCOMPOPTS) +CFLAGS=$(RPM_OPT_FLAGS) -DNDEBUG $(BYTECCCOMPOPTS) OBJS= closure.o error.o lalr.o lr0.o main.o mkpar.o output.o reader.o \ skeleton.o symtab.o verbose.o warshall.o
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor