]> git.sesse.net Git - stockfish/commitdiff
Retire 'os' flag from Makefile
authorJoona Kiiski <joona.kiiski@gmail.com>
Sun, 7 Dec 2014 09:45:36 +0000 (09:45 +0000)
committerJoona Kiiski <joona.kiiski@gmail.com>
Wed, 10 Dec 2014 17:57:55 +0000 (17:57 +0000)
Appears to be unused

No functional change

Resolves #147

src/Makefile

index 75bbbd6c40b19609e6c36c93357ea877c6b96399..301cbdde988d065e058255d18630b74d0f4d6174 100644 (file)
@@ -48,7 +48,6 @@ OBJS = benchmark.o bitbase.o bitboard.o endgame.o evaluate.o main.o \
 # debug = yes/no      --- -DNDEBUG         --- Enable/Disable debug mode
 # optimize = yes/no   --- (-O3/-fast etc.) --- Enable/Disable optimizations
 # arch = (name)       --- (-arch)          --- Target architecture
-# os = (name)         ---                  --- Target operating system
 # bits = 64/32        --- -DIS_64BIT       --- 64-/32-bit operating system
 # prefetch = yes/no   --- -DUSE_PREFETCH   --- Use prefetch x86 asm-instruction
 # bsfq = yes/no       --- -DUSE_BSFQ       --- Use bsfq x86_64 asm-instruction (only
@@ -64,7 +63,6 @@ OBJS = benchmark.o bitbase.o bitboard.o endgame.o evaluate.o main.o \
 ### 2.1. General and architecture defaults
 optimize = yes
 debug = no
-os = any
 bits = 32
 prefetch = no
 bsfq = no
@@ -407,7 +405,6 @@ config-sanity:
        @echo "debug: '$(debug)'"
        @echo "optimize: '$(optimize)'"
        @echo "arch: '$(arch)'"
-       @echo "os: '$(os)'"
        @echo "bits: '$(bits)'"
        @echo "prefetch: '$(prefetch)'"
        @echo "bsfq: '$(bsfq)'"
@@ -426,7 +423,6 @@ config-sanity:
        @test "$(optimize)" = "yes" || test "$(optimize)" = "no"
        @test "$(arch)" = "any" || test "$(arch)" = "x86_64" || test "$(arch)" = "i386" || \
         test "$(arch)" = "ppc64" || test "$(arch)" = "ppc" || test "$(arch)" = "armv7"
-       @test "$(os)" = "any"
        @test "$(bits)" = "32" || test "$(bits)" = "64"
        @test "$(prefetch)" = "yes" || test "$(prefetch)" = "no"
        @test "$(bsfq)" = "yes" || test "$(bsfq)" = "no"