Skip to content

Commit

Permalink
Merge pull request #62 from myelin/sf/allegro5-pp-macos-build-fix
Browse files Browse the repository at this point in the history
Minor changes to get b-em/sf/allegro5 to build on latest macOS
  • Loading branch information
SteveFosdick committed May 28, 2018
2 parents 1f11031 + 09f23cf commit f1dd7d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ AC_ARG_ENABLE(debug,
AC_HELP_STRING([--enable-debug], [build debug executable]))

CF_WARNINGS="-Wall -Wno-format-security"
CFLAGS="$CFLAGS $CF_WARNINGS -std=gnu99 -D_GNU_SOURCE"
CFLAGS="$CFLAGS $CF_WARNINGS -std=gnu11 -D_GNU_SOURCE"
if test "$enable_debug" = "yes"; then
CFLAGS="$CFLAGS -O3 -ggdb -D_DEBUG"
LDFLAGS="$LDFLAGS -L/usr/local/lib"
Expand Down
4 changes: 2 additions & 2 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ b_em_CFLAGS = $(allegro_CFLAGS) -DBEM -DINCLUDE_DEBUGGER -DUSE_MEMORY_POINTER
if OS_WIN
b_em_LDADD = -lallegro_audio -lallegro_acodec -lallegro_primitives -lallegro_dialog -lallegro_image -lallegro_font -lallegro -lz -lm
else
b_em_LDADD = -lallegro_audio -lallegro_acodec -lallegro_primitives -lallegro_dialog -lallegro_image -lallegro_font -lallegro -lz -lm -lpthread
b_em_LDADD = -lallegro_audio -lallegro_acodec -lallegro_primitives -lallegro_dialog -lallegro_image -lallegro_font -lallegro_main -lallegro -lz -lm -lpthread
endif

b_em_SOURCES = \
Expand Down Expand Up @@ -122,4 +122,4 @@ endif

jstest_SOURCES = jstest.c

jstest_LDADD = -lallegro
jstest_LDADD = -lallegro -lallegro_main

0 comments on commit f1dd7d2

Please sign in to comment.