Browse Source

Fix mingw build

tags/v0.9.0
falkTX 13 years ago
parent
commit
f30416e1da
2 changed files with 2 additions and 2 deletions
  1. +2
    -0
      c++/carla-backend/carla_backend.h
  2. +0
    -2
      c++/carla-bridge/Makefile

+ 2
- 0
c++/carla-backend/carla_backend.h View File

@@ -18,6 +18,8 @@
#ifndef CARLA_BACKEND_H #ifndef CARLA_BACKEND_H
#define CARLA_BACKEND_H #define CARLA_BACKEND_H


#include <cstdint>

#include "carla_includes.h" #include "carla_includes.h"


#define CARLA_BACKEND_START_NAMESPACE namespace CarlaBackend { #define CARLA_BACKEND_START_NAMESPACE namespace CarlaBackend {


+ 0
- 2
c++/carla-bridge/Makefile View File

@@ -8,12 +8,10 @@ CXX ?= g++
STRIP ?= strip STRIP ?= strip


BASE_FLAGS = -O2 -ffast-math -fomit-frame-pointer -mtune=generic -msse -mfpmath=sse -Wall BASE_FLAGS = -O2 -ffast-math -fomit-frame-pointer -mtune=generic -msse -mfpmath=sse -Wall
# BASE_FLAGS = -O0 -g


BUILD_FLAGS = $(BASE_FLAGS) -std=c++0x $(CXXFLAGS) BUILD_FLAGS = $(BASE_FLAGS) -std=c++0x $(CXXFLAGS)
BUILD_FLAGS += -I. -I../carla-includes $(shell pkg-config --cflags liblo QtCore) BUILD_FLAGS += -I. -I../carla-includes $(shell pkg-config --cflags liblo QtCore)
BUILD_FLAGS += -DBUILD_BRIDGE -DQT_NO_DEBUG -DQT_NO_DEBUG_STREAM -DQT_NO_DEBUG_OUTPUT -DNDEBUG BUILD_FLAGS += -DBUILD_BRIDGE -DQT_NO_DEBUG -DQT_NO_DEBUG_STREAM -DQT_NO_DEBUG_OUTPUT -DNDEBUG
# BUILD_FLAGS += -DBUILD_BRIDGE -DDEBUG
BUILD_FLAGS += -DVESTIGE_HEADER # Comment this line to not use vestige header BUILD_FLAGS += -DVESTIGE_HEADER # Comment this line to not use vestige header


32BIT_FLAGS = -m32 32BIT_FLAGS = -m32


Loading…
Cancel
Save