summaryrefslogtreecommitdiffstats
path: root/audio-libs/liblo/PRE_BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'audio-libs/liblo/PRE_BUILD')
-rwxr-xr-xaudio-libs/liblo/PRE_BUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/audio-libs/liblo/PRE_BUILD b/audio-libs/liblo/PRE_BUILD
new file mode 100755
index 0000000000..d3ef3787be
--- /dev/null
+++ b/audio-libs/liblo/PRE_BUILD
@@ -0,0 +1,6 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+if spell_ok gcc && is_version_less $(installed_version gcc) 4.8.0; then
+ patch -p0 < "$SPELL_DIRECTORY/pre-gcc48.patch"
+fi