diff options
author | Tony Theodore <tonyt@logyst.com> | 2010-10-02 20:18:58 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2010-10-02 20:18:58 (GMT) |
commit | 1890e67af42c1a1ce3ef14b8c46041c380bc8870 (patch) | |
tree | ed93f0acd0c397f26321b08e2b1ab368120fa25b /src/sdl_sound.mk | |
parent | d904f8e1c63faa75b7f5d576a385fc4c7134b5cc (diff) | |
download | mxe-1890e67af42c1a1ce3ef14b8c46041c380bc8870.zip mxe-1890e67af42c1a1ce3ef14b8c46041c380bc8870.tar.gz mxe-1890e67af42c1a1ce3ef14b8c46041c380bc8870.tar.bz2 |
bugfixes for sdl_sound build and test program
Diffstat (limited to 'src/sdl_sound.mk')
-rw-r--r-- | src/sdl_sound.mk | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/sdl_sound.mk b/src/sdl_sound.mk index 1747458..3c401b2 100644 --- a/src/sdl_sound.mk +++ b/src/sdl_sound.mk @@ -38,6 +38,15 @@ define $(PKG)_BUILD --disable-smpegtest \ --with-smpeg-prefix='$(PREFIX)/$(TARGET)' \ LIBMIKMOD_CONFIG='$(PREFIX)/$(TARGET)/bin/libmikmod-config' \ - LIBS='-lvorbis -logg' + LIBS='-lvorbis -logg' \ + CFLAGS='-fno-inline' $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= + + '$(TARGET)-gcc' \ + -W -Wall -Werror -std=c99 -pedantic \ + '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-sdl_sound.exe' \ + `'$(TARGET)-pkg-config' sdl --cflags --libs` \ + -lSDL_sound \ + `'$(TARGET)-pkg-config' vorbisfile --libs` \ + -lspeex -lmikmod endef |