Skip to content
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.

Commit

Permalink
Remove CMakeForceCompiler (#101)
Browse files Browse the repository at this point in the history
CMakeForceCompiler is deprecated.

libtuv-DCO-1.0-Signed-off-by: Sanggyu Lee [email protected]
  • Loading branch information
Sanggyu Lee authored and yichoi committed Nov 23, 2017
1 parent 2b3f4f5 commit ad0f497
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 42 deletions.
4 changes: 1 addition & 3 deletions cmake/config/config_arm-linux.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

include(CMakeForceCompiler)

set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR arm)

SET(CMAKE_C_COMPILER arm-linux-gnueabihf-gcc)
set(CMAKE_C_COMPILER arm-linux-gnueabihf-gcc)
9 changes: 2 additions & 7 deletions cmake/config/config_arm-mbed.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

include(CMakeForceCompiler)

set(CMAKE_SYSTEM_NAME mbed)
set(CMAKE_SYSTEM_PROCESSOR arm)

SET(CMAKE_C_COMPILER arm-none-eabi-g++)

# need to force compiler,
# else it'll try to check and exit with 'unedefined _exit()
CMAKE_FORCE_C_COMPILER(${CMAKE_C_COMPILER} GNU)
set(CMAKE_C_COMPILER arm-none-eabi-g++)
set(CMAKE_C_COMPILER_WORKS TRUE)
9 changes: 2 additions & 7 deletions cmake/config/config_arm-nuttx.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

include(CMakeForceCompiler)

set(CMAKE_SYSTEM_NAME nuttx)
set(CMAKE_SYSTEM_PROCESSOR arm)

SET(CMAKE_C_COMPILER arm-none-eabi-gcc)

# need to force compiler,
# else it'll try to check and exit with 'unedefined _exit()
CMAKE_FORCE_C_COMPILER(${CMAKE_C_COMPILER} GNU)
set(CMAKE_C_COMPILER arm-none-eabi-gcc)
set(CMAKE_C_COMPILER_WORKS TRUE)
2 changes: 0 additions & 2 deletions cmake/config/config_arm-tizen.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

include(CMakeForceCompiler)

set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR arm)

Expand Down
9 changes: 2 additions & 7 deletions cmake/config/config_arm-tizenrt.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

include(CMakeForceCompiler)

set(CMAKE_SYSTEM_NAME tizenrt)
set(CMAKE_SYSTEM_PROCESSOR arm)

SET(CMAKE_C_COMPILER arm-none-eabi-gcc)

# need to force compiler,
# else it'll try to check and exit with 'unedefined _exit()
CMAKE_FORCE_C_COMPILER(${CMAKE_C_COMPILER} GNU)
set(CMAKE_C_COMPILER arm-none-eabi-gcc)
set(CMAKE_C_COMPILER_WORKS TRUE)
5 changes: 1 addition & 4 deletions cmake/config/config_armhf-linux.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

include(CMakeForceCompiler)

SET(CMAKE_C_COMPILER arm-linux-gnueabihf-gcc)

set(CMAKE_C_COMPILER arm-linux-gnueabihf-gcc)
2 changes: 0 additions & 2 deletions cmake/config/config_i686-linux.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,5 @@
# See the License for the specific language governing permissions and
# limitations under the License.

include(CMakeForceCompiler)

set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR i686)
4 changes: 1 addition & 3 deletions cmake/config/config_mips-openwrt.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

include(CMakeForceCompiler)

set(CMAKE_SYSTEM_NAME Openwrt)
set(CMAKE_SYSTEM_PROCESSOR mips)

SET(CMAKE_C_COMPILER mipsel-openwrt-linux-gcc)
set(CMAKE_C_COMPILER mipsel-openwrt-linux-gcc)
4 changes: 1 addition & 3 deletions cmake/config/config_mipsel-linux.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

include(CMakeForceCompiler)

set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR mipsel)

SET(CMAKE_C_COMPILER mipsel-linux-gcc)
set(CMAKE_C_COMPILER mipsel-linux-gcc)
2 changes: 0 additions & 2 deletions cmake/config/config_x86_64-darwin.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,5 @@
# See the License for the specific language governing permissions and
# limitations under the License.

include(CMakeForceCompiler)

set(CMAKE_SYSTEM_NAME Darwin)
set(CMAKE_SYSTEM_PROCESSOR x86_64)
2 changes: 0 additions & 2 deletions cmake/config/config_x86_64-linux.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,5 @@
# See the License for the specific language governing permissions and
# limitations under the License.

include(CMakeForceCompiler)

set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR x86_64)

0 comments on commit ad0f497

Please sign in to comment.