This commit is contained in:
John Whitington 2025-05-05 14:01:45 +01:00
parent 96acbd0745
commit e5a53f6e36
2 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ RESULT = cpdf
ANNOTATE = true
PACKS = camlpdf
CFLAGS = -fPIC -g -o2
CFLAGS = -fPIC -g
OCAMLFLAGS = -bin-annot
OCAMLNCFLAGS = -g -safe-string
OCAMLBCFLAGS = -g -safe-string
@ -41,7 +41,7 @@ all : $(TARGETS)
clean ::
rm -rf doc foo foo2 out.pdf out2.pdf out3.pdf foo.pdf decomp.pdf *.cmt \
*.cmti *.json test/*.pdf *.ps *.aux *.idx *.log *.out *.toc *.cut \
*.ttf *.ttx out.png
*.ttf *.ttx out.png cpdf.dSYM
DOC_FILES = $(foreach x,$(DOC),$(x).mli)

View File

@ -614,7 +614,7 @@ endif
ifneq ($(strip $(OBJ_LINK)),)
ifdef CREATE_LIB
OBJS_LIBS := -cclib -l$(CLIB_BASE) $(CLIBS_OPTS) $(MAYBE_IDL)
OBJS_LIBS := -ccopt "$(CFLAGS)" -cclib -l$(CLIB_BASE) $(CLIBS_OPTS) $(MAYBE_IDL)
else
OBJS_LIBS := $(OBJ_LINK) $(CLIBS_OPTS) $(MAYBE_IDL)
endif