$OpenBSD$

Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -5,7 +5,6 @@ set(CMAKE_CXX_STANDARD 14)
 set(CMAKE_C_STANDARD 11)
 
 set(CMAKE_CXX_FLAGS_DEBUG "-O0 -DDEBUG=1 -g")
-set(CMAKE_CXX_FLAGS_RELEASE "-Ofast")
 
 if(heapSize)
   add_definitions(-DheapSize=${heapSize})
@@ -18,7 +17,7 @@ endif()
 file(GLOB EMOJICODE_SOURCES "EmojicodeReal-TimeEngine/*")
 add_executable(emojicode ${EMOJICODE_SOURCES} utf8.c utf8.h)
 target_compile_options(emojicode PUBLIC -Wall -Wno-unused-result -Wno-missing-braces -pedantic)
-target_link_libraries(emojicode dl pthread)
+target_link_libraries(emojicode pthread)
 
 file(GLOB EMOJICODEC_SOURCES "EmojicodeCompiler/*")
 add_executable(emojicodec ${EMOJICODEC_SOURCES} utf8.c utf8.h)
@@ -37,10 +36,6 @@ endfunction()
 
 package(files)
 package(sockets)
-package(allegro allegro)
-
-find_library(SYSTEM_ALLEGRO NAMES allegro)
-target_link_libraries(allegro ${SYSTEM_ALLEGRO} allegro_color allegro_primitives allegro_image allegro_ttf allegro_audio allegro_acodec)
 
 add_custom_target(dist python3 ${PROJECT_SOURCE_DIR}/dist.py ${PROJECT_SOURCE_DIR})
 add_custom_target(tests python3 ${PROJECT_SOURCE_DIR}/tests.py ${PROJECT_SOURCE_DIR} DEPENDS dist)
