diff --git a/community/systemc/APKBUILD b/community/systemc/APKBUILD
index 209cda764fc68746cfe1f366b179f836906f68d4..71409651c570cec0fd3e6e35164fed5d0e813ca8 100644
--- a/community/systemc/APKBUILD
+++ b/community/systemc/APKBUILD
@@ -30,7 +30,8 @@ build() {
 }
 
 check() {
-	make check
+	# Examples fail to compile without -fpermissive.
+	make CXXFLAGS="$CXXFLAGS -fpermissive"
 }
 
 package() {