Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:MasterPatricko
mosml
mosml-rpm_opt_flags.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mosml-rpm_opt_flags.patch of Package mosml
--- src/Makefile.inc.orig +++ src/Makefile.inc @@ -48,8 +48,8 @@ ifeq ($(DYNLIBSUPPORT),true) endif ADDRUNLIBS=-ldl -ADDRUNCFLAGS=-fPIC -ADDDYNLIBCFLAGS=-fPIC +ADDRUNCFLAGS=-DANSI -fPIC $(RPM_OPT_FLAGS) +ADDDYNLIBCFLAGS=-DANSI -fPIC $(RPM_OPT_FLAGS) # Automatic detection of OS @@ -64,7 +64,7 @@ UNAME_S := $(shell sh -c 'uname -s 2>/de ifeq ($(UNAME_S),Linux) CPP=cpp -P -traditional -Dunix -Umsdos - STRIP=strip -S + STRIP=true LD=gcc -rdynamic -Wl,-rpath,$(LIBDIR) DYNLD=gcc -shared endif --- src/runtime/Makefile.orig +++ src/runtime/Makefile @@ -36,7 +36,7 @@ CFLAGS=$(BASECFLAGS) $(ADDRUNCFLAGS) all: camlrunm$(EXE) camlrunm$(EXE): $(OBJS) prims.o - $(LD) -o camlrunm$(EXE) prims.o $(OBJS) $(LIBS) + $(LD) $(CFLAGS) -o camlrunm$(EXE) prims.o $(OBJS) $(LIBS) $(STRIP) camlrunm$(EXE) camlrunmd$(EXE): $(DOBJS) prims.d.o --- src/mosmlyac/Makefile.orig +++ src/mosmlyac/Makefile @@ -1,6 +1,6 @@ # Unix Makefile for the parser generator. -CFLAGS=-O -DNDEBUG +CFLAGS=-O -DNDEBUG $(RPM_OPT_FLAGS) include ../Makefile.inc --- src/launch/Makefile.orig +++ src/launch/Makefile @@ -48,7 +48,7 @@ camlexec.c: camlexec.tpl sed -e "s|LIBDIR|$(LIBDIR)|" -e "s|BINDIR|$(BINDIR)|" camlexec.tpl > camlexec.c camlexec: camlexec.c - $(CC) $(OPTS) -o camlexec$(EXE) camlexec.c + $(CC) $(RPM_OPT_FLAGS) $(OPTS) -o camlexec$(EXE) camlexec.c $(STRIP) camlexec$(EXE) clean:
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