Skip to content

Commit

Permalink
Pass CFLAGS to pdfio makefile so that "-fPIC" and other options get p…
Browse files Browse the repository at this point in the history
…assed

through (Issue #275)
  • Loading branch information
michaelrsweet committed Mar 20, 2023
1 parent 9a26723 commit 67f70c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ DIRS = \
all:
for dir in $(DIRS); do \
echo "======== all in $$dir ========"; \
(cd $$dir; $(MAKE) $(MFLAGS) COMMONFLAGS="$(OPTIM)" all) || exit 1; \
(cd $$dir; $(MAKE) $(MFLAGS) CFLAGS="$(CFLAGS)" COMMONFLAGS="$(OPTIM)" all) || exit 1; \
done


Expand Down Expand Up @@ -82,7 +82,7 @@ install:
test:
for dir in $(DIRS); do \
echo "======== test in $$dir ========"; \
(cd $$dir; $(MAKE) $(MFLAGS) test) || exit 1; \
(cd $$dir; $(MAKE) $(MFLAGS) CFLAGS="$(CFLAGS)" COMMONFLAGS="$(OPTIM)" test) || exit 1; \
done
echo "Running integration tests..."
test/run-tests.sh
Expand Down

0 comments on commit 67f70c9

Please sign in to comment.