summaryrefslogtreecommitdiff
path: root/Ports/x264/patches/serenity-configure.patch
blob: e35282839caa77a1e8175a1f54ef83a57b1c4221 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
diff --git a/config.sub b/config.sub
index 72e9265b..2ee38778 100755
--- a/config.sub
+++ b/config.sub
@@ -1514,6 +1514,8 @@ case $os in
 		;;
 	-nacl*)
 		;;
+    -serenity)
+        ;;
 	-none)
 		;;
 	*)
diff --git a/configure b/configure
index e242e73c..1f60a1ab 100755
--- a/configure
+++ b/configure
@@ -729,6 +729,10 @@ case $host_os in
     *haiku*)
         SYS="HAIKU"
         ;;
+    serenity)
+        SYS="SERENITY"
+        libm="-lm"
+        ;;
     *)
         die "Unknown system $host, edit the configure"
         ;;